Open
Description
There seems to be a mismatch between WASM and native builds (on macOS).
I built the CLI from latest tree-sitter's master (4c0fa29
) and tried this code:
macro_rules! impl_pred {}
// TODO
i
impl_pred!(foo, bar);
This is the syntax tree reported by the native binding (tree-sitter test
passes for this commit):
(source_file
(macro_definition name:
(identifier))
(line_comment)
(macro_invocation macro:
(identifier)
(ERROR
(identifier))
(token_tree
(identifier)
(identifier))))
This is the syntax tree reported by WASM (through tree-sitter web-ui
):
(source_file
(macro_definition name:
(identifier))
(line_comment)
(identifier)
(MISSING ";")
(macro_invocation macro:
(identifier)
(token_tree
(identifier)
(identifier))))
Metadata
Metadata
Assignees
Labels
No labels