minor parsing bug fix
This commit is contained in:
parent
e1a0af8745
commit
8e54babf10
1 changed files with 4 additions and 1 deletions
|
@ -1929,6 +1929,9 @@ def spec(self, name, check_valid_token = False):
|
|||
elif self.accept(ID):
|
||||
self.previous = self.token
|
||||
if self.accept(EQ):
|
||||
if self.accept(QT):
|
||||
self.token.value = self.token.value[1:-1]
|
||||
else:
|
||||
self.expect(ID)
|
||||
spec._add_flag(self.previous.value, self.token.value)
|
||||
self.previous = None
|
||||
|
|
Loading…
Reference in a new issue