Closed ahlinc closed 1 year ago
Empty strings tokens will be prohibited only in inline
and extras
, for this case it's fully legal to use a syntax seq($.foo, alias('', $.bar)
to produce an additional zero size token trailing token in a sequence.
Empty string tokens will be prohibited in Tree-sitter soon, this PR removes them because this repo is a tree-sitter dependency for corpus tests and it breaks tests in the tree-sitter main repo.
Tree-sitter error report: