Skip to content

Commit

Permalink
negation needs to have a ws character infront of it.
Browse files Browse the repository at this point in the history
  • Loading branch information
uberj committed Oct 30, 2012
1 parent b10dcaa commit 001c5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invlex.py
Expand Up @@ -17,7 +17,7 @@ class InvLexer(object):
t_RPAREN = r'\)' t_RPAREN = r'\)'


def t_NOT(self, t): def t_NOT(self, t):
r'-' r'\s*-'
t.value = 'NOT' t.value = 'NOT'
return t return t


Expand Down

0 comments on commit 001c5fb

Please sign in to comment.