Merge pull request #58 from tree-sitter/reduce-error-recovery-branching

Reduce the branching factor of the parse stack during error recovery
This commit is contained in:
Max Brunsfeld 2017-02-18 11:34:09 -08:00 committed by GitHub
commit 135d8ef4e0
2 changed files with 3 additions and 2 deletions

View file

@ -127,5 +127,6 @@ int b() {
(ERROR (identifier) (identifier))
(identifier) (number_literal)))
(declaration
(ERROR (identifier) (identifier))
(identifier)
(init_declarator (ERROR (identifier) (identifier)) (identifier) (number_literal))))))
(init_declarator (identifier) (number_literal))))))