tree-sitter-haxe
tree-sitter-haxe copied to clipboard
Single-line comments are detected inside strings (e.g. in URLs)
Hi! :wave:
Given an expression:
var foo = "https://example.com";
I'd expect:
(module
(variable_declaration
(keyword)
(identifier)
(operator)
(string)
)
)
but I actually get:
(module
(ERROR
(identifier)
(operator)
(comment)
)
)
Example in action:
Woops, thanks for the report, I'll try to sort this out.