[X] I have read all the tree-sitter docs if it relates to using the parser
[X] I have searched the existing issues of tree-sitter-rust
Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)
No response
Describe the bug
When giving a macro multiple arguments (e.g. println!("{}", "hello");), the parser errors with something like:
(expression_statement)
(unit_expression)
(ERROR)
Perhaps similar to #98
This is especially unfortunate when the inside of the macro contains a function call, as it will not be recognized as a function call and thus not selectable by a textobjects query.
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)No response
Describe the bug
When giving a macro multiple arguments (e.g.
println!("{}", "hello");
), the parser errors with something like:Perhaps similar to #98
This is especially unfortunate when the inside of the macro contains a function call, as it will not be recognized as a function call and thus not selectable by a textobjects query.
Steps To Reproduce/Bad Parse Tree
Expected Behavior/Parse Tree
Repro