Fixed negation assertion bug.

parent 76b7149d
...@@ -208,8 +208,7 @@ class Parser(BisonParser): ...@@ -208,8 +208,7 @@ class Parser(BisonParser):
handlers = [] handlers = []
if retval.negated: if retval.negated:
print retval, 'OP_NEG', retval.negated handlers = handlers[:] + RULES[OP_NEG]
handlers += RULES[OP_NEG]
for handler in handlers: for handler in handlers:
possibilities = handler(retval) 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