We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keyword_language
parser.c
aux_sym_*
While preparing helix-editor/helix#7387 I noticed that a (keyword_language) query makes tree-sitter fail parsing with a NodeType error.
(keyword_language)
NodeType
Upon investigation, I found that:
The symbol is defined in grammar.json.
grammar.json
But it is not defined in node-types.json.
node-types.json
In parser.c, it is defined as aux_sym_keyword_language_token1. 🤔 (see also the codegen)
aux_sym_keyword_language_token1
(keyword_language) appears to be unused.
I think it can be removed - or shall it be used for function_language?
function_language
The text was updated successfully, but these errors were encountered:
98a7fc9
I changed function_language to reference the keyword the query should work as expected on the latest version of the parser.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
While preparing helix-editor/helix#7387 I noticed that a
(keyword_language)
query makes tree-sitter fail parsing with aNodeType
error.Upon investigation, I found that:
The symbol is defined in
grammar.json
.But it is not defined in
node-types.json
.In
parser.c
, it is defined asaux_sym_keyword_language_token1
. 🤔 (see also the codegen)(keyword_language)
appears to be unused.I think it can be removed - or shall it be used for
function_language
?The text was updated successfully, but these errors were encountered: