Skip to content

Commit

Permalink
fix: correct repository field
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed May 4, 2024
1 parent f473285 commit 5aeecbd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,6 @@ module.exports = grammar({
$.while_statement,
$.local_declaration_statement,
$.local_function_statement,
// alias($.preproc_if_in_statement, $.preproc_if),
alias($.preproc_if_in_top_level, $.preproc_if),
)),

Expand Down Expand Up @@ -1856,7 +1855,6 @@ module.exports = grammar({
...preprocIf('', $ => $.declaration),
...preprocIf('_in_top_level', $ => choice($._top_level_item_no_statement, $.statement)),
...preprocIf('_in_expression', $ => $.expression, -2, false),
// ...preprocIf('_in_statement', $ => $.statement, -1),
...preprocIf('_in_enum_member_declaration', $ => $.enum_member_declaration, 0, false),

preproc_arg: _ => token(prec(-1, /\S([^/\n]|\/[^*]|\\\r?\n)*/)),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tree-sitter-c-sharp",
"version": "0.21.1",
"description": "C# grammar for tree-sitter",
"repository": "github:tree-sitter/tree-sitter-rust",
"repository": "github:tree-sitter/tree-sitter-c-sharp",
"license": "MIT",
"author": "Max Brunsfeld <maxbrunsfeld@gmail.com",
"contributors": [
Expand Down

0 comments on commit 5aeecbd

Please sign in to comment.