Closed susliko closed 11 months ago
Actually I'm unsure if generated stuff like parser.c should be included in order for CI to pass
p.s.: okay, it should be, generated by tree-sitter 0.20.7
Thanks so much for the changes! Just have the two comments and looks good otherwise.
Also FYI thanks for using tree-sitter 0.20.7, there's an issue in 0.20.8 that blocks us from upgrading: https://github.com/tree-sitter/tree-sitter/issues/2755
Oh also! Please bump the patch version in the cargo & npm files so I can cut a new release that includes this fix.
@ahelwer Thanks for the review! Addressed the comments
Fixes #83
Problem
The grammar fails to parse strings with comment start lexemes inside them:
"\*"
and"(*"
Solution
Specify a higher lexical precedence for string contents than for comments