@willbooster/tree-sitter-java 7.0.2 → 7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/grammar.js CHANGED
@@ -665,7 +665,7 @@ module.exports = grammar({
665
665
  ),
666
666
 
667
667
  labeled_statement: $ => seq(
668
- $.identifier, ':', $.statement,
668
+ choice($.identifier, $._reserved_identifier), ':', $.statement,
669
669
  ),
670
670
 
671
671
  assert_statement: $ => choice(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-java",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "description": "Java grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
Binary file
package/tree-sitter.json CHANGED
@@ -14,7 +14,7 @@
14
14
  }
15
15
  ],
16
16
  "metadata": {
17
- "version": "7.0.2",
17
+ "version": "7.0.3",
18
18
  "license": "MIT",
19
19
  "description": "Java grammar for tree-sitter",
20
20
  "authors": [