minor parsing bug fix

This commit is contained in:
Gregory Becker 2016-01-15 17:21:32 -08:00
parent e1a0af8745
commit 8e54babf10

View file

@ -1929,6 +1929,9 @@ def spec(self, name, check_valid_token = False):
elif self.accept(ID): elif self.accept(ID):
self.previous = self.token self.previous = self.token
if self.accept(EQ): if self.accept(EQ):
if self.accept(QT):
self.token.value = self.token.value[1:-1]
else:
self.expect(ID) self.expect(ID)
spec._add_flag(self.previous.value, self.token.value) spec._add_flag(self.previous.value, self.token.value)
self.previous = None self.previous = None