Closed gonglinyuan closed 1 year ago
Hi @gonglinyuan thanks for this, it looks like a good improvement.
Any chance you can add some new snippet tests to one of the corpus/.txt files to test the new scenarios where it failed before - that way we can be sure we don't regress it again in the future.
Let me know if you have questions.
I added a test to literals.txt
Thank-you for fixing this!
Example program:
In this program,
tb1
,tb2
andtb3
are assigned with threeraw_string_literal
s. However, the parser in tree-sitter considers them as a singleraw_string_literal
ofwhich is incorrect. A change in grammar can fix this issue.