Skip to content

Commit

Permalink
Only care about case of first letter of rule name
Browse files Browse the repository at this point in the history
  • Loading branch information
acw1251 authored and apalala committed Nov 26, 2017
1 parent 72916b3 commit 05ba00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tatsu/contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _next(self):
return self._buffer.next()

def _next_token(self, ruleinfo=None):
if ruleinfo is None or ruleinfo.name.islower():
if ruleinfo is None or ruleinfo.name[0].islower():
self._buffer.next_token()

@property
Expand Down

0 comments on commit 05ba00f

Please sign in to comment.