Commit 54eb9c5b authored by Sander Mathijs van Veen's avatar Sander Mathijs van Veen

Merge branch 'negated'

parents 033e0fa1 31f9c491
...@@ -154,7 +154,7 @@ class Parser(BisonParser): ...@@ -154,7 +154,7 @@ class Parser(BisonParser):
left, right = filter(None, match.groups()) left, right = filter(None, match.groups())
# Filter words (otherwise they will be preprocessed as well) # Filter words (otherwise they will be preprocessed as well)
if left + right in ['graph', 'raise']: if (left + right).upper() in self.tokens:
return left + right return left + right
# If all characters on the right are numbers. e.g. "a4", the # If all characters on the right are numbers. e.g. "a4", the
......
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