Skip to content

Commit 621f79b

Browse files
authored
Merge pull request #223 from softdevteam/fix_ecogrammar
Fix error recovery bug in Eco grammar
2 parents a1618b6 + 8823bc8 commit 621f79b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/eco/incparser/incparser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def __init__(self, grammar=None, lr_type=LR0, whitespaces=False, startsymbol=Non
107107
self.autolboxes = None
108108
self.autodetector = None
109109
self.option_autolbox_find = False
110+
self.lang = None
110111

111112
def is_valid_symbol(self, state, token):
112113
return self.syntaxtable.lookup(state, token) is not None

0 commit comments

Comments
 (0)