Commit 8823bc8
committed
Fix error recovery bug in Eco grammar
When editing the Ecogrammar grammar and an error occurs, out-of-context
analysis fails due to the incparser instance having no `lang` attribute
(for all other grammars based on EcoFile this is not the case). This
commit fixes this by setting `lang` to None by default.1 parent a1618b6 commit 8823bc8
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments