[io_mesh_qfmdl] Skip space after parsing a value
Fixes a bogus error on the likes of offset = { x = 0; y = 0 }; (ie, between the 0 and } )
This commit is contained in:
parent
5b103f2570
commit
9c7c081772
|
@ -173,9 +173,11 @@ class pldata:
|
|||
"Unexpected character (expected '=')")
|
||||
self.pos += 1
|
||||
value = self.parse()
|
||||
self.skip_space()
|
||||
if self.src[self.pos] == ';':
|
||||
self.pos += 1
|
||||
elif self.src[self.pos] != '}':
|
||||
print(self.src[self.pos])
|
||||
raise PListError(self.line,
|
||||
"Unexpected character (wanted ';' or '}')")
|
||||
item[key] = value
|
||||
|
|
Loading…
Reference in New Issue