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
I have read all the tree-sitter docs if it relates to using the parser
I have searched the existing issues of tree-sitter-cpp
Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)
Playground (0.23.4?)
Describe the bug
An #if / #ifdef / #endif is supported in different lists, but apparently not in the initializer list as it leads to an error. The parser seems to recover from the error though.
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)Playground (0.23.4?)
Describe the bug
An #if / #ifdef / #endif is supported in different lists, but apparently not in the initializer list as it leads to an error. The parser seems to recover from the error though.
Steps To Reproduce/Bad Parse Tree
Expected Behavior/Parse Tree
The second
field_initializer
tree should be below apreproc_ifdef
node and the two errors should not appear.Repro
The text was updated successfully, but these errors were encountered: