You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When parsing code that defines an enum using macro expansion, the parse tree incorrectly reports an ERROR node.
For example, given the following snippet:
Uh oh!
There was an error while loading. Please reload this page.
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.25.3 (2a835ee029dca1c325e6f1c01dbce40396f6123e)
Describe the bug
When parsing code that defines an
enum
using macro expansion, the parse tree incorrectly reports anERROR
node.For example, given the following snippet:
The following error appears in the parse tree:
(ERROR [5, 2] - [6, 24]
.Steps To Reproduce/Bad Parse Tree
tree-sitter parse
on the file.Expected Behavior/Parse Tree
The parse tree should not have errors.
Repro
The text was updated successfully, but these errors were encountered: