symbols on the stack are now defined with a smaller tuple.

This commit is contained in:
Dave Halter
2014-11-05 10:27:24 +01:00
parent da5dd0efa1
commit 70bc6642d8
3 changed files with 20 additions and 25 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class Driver(object):
if type == token.OP:
type = grammar.opmap[value]
#self.logger.debug("%s %r (prefix=%r)", token.tok_name[type], value, prefix)
if p.addtoken(type, value, (prefix, start)):
if p.addtoken(type, value, prefix, start):
break
prefix = ""
lineno, column = end