Skip to content

Commit

Permalink
Changed priority of ! and !=
Browse files Browse the repository at this point in the history
  • Loading branch information
i2y committed Dec 3, 2014
1 parent 31e6d3e commit d6fdac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mochi/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def __hash__(self):
lg.add('LPAREN', r'\(')
lg.add('RPAREN', r'\)')
lg.add('DOT', r'\.')
lg.add('BANG', r'!')
lg.add('PERCENT', r'%')
lg.add('COMMA', r',')
lg.add('THINARROW', r'->')
Expand All @@ -96,6 +95,7 @@ def __hash__(self):
lg.add('OPNEQ', r'!=')
lg.add('OPLT', r'<')
lg.add('OPGT', r'>')
lg.add('BANG', r'!')

lg.add('EQUALS', r'=')
lg.add('SEMI', r';')
Expand Down

0 comments on commit d6fdac0

Please sign in to comment.