Fixed negation assertion bug.

parent 76b7149d
......@@ -208,8 +208,7 @@ class Parser(BisonParser):
handlers = []
if retval.negated:
print retval, 'OP_NEG', retval.negated
handlers += RULES[OP_NEG]
handlers = handlers[:] + RULES[OP_NEG]
for handler in handlers:
possibilities = handler(retval)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment