Merge pull request #126 from tree-sitter/mb-fix-epsilon-rule-loophole
Don't allow an epsilon start rule if it is used in other rules
This commit is contained in:
commit
b520bdd2d5
2 changed files with 33 additions and 18 deletions
|
|
@ -1,2 +1,4 @@
|
|||
The rule `rule_2` matches the empty string.
|
||||
Tree-sitter currently does not support syntactic rules that match the empty string.
|
||||
|
||||
Tree-sitter does not support syntactic rules that match the empty string
|
||||
unless they are used only as the grammar's start rule.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue