@willbooster/tree-sitter-kotlin 9.0.0 → 9.0.2

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
@@ -420,7 +420,7 @@ module.exports = grammar({
420
420
  'in',
421
421
  $.expression,
422
422
  ')',
423
- optional(field('body', $._control_structure_body))
423
+ choice(field('body', $._control_structure_body), ';')
424
424
  )
425
425
  ),
426
426
 
@@ -432,7 +432,7 @@ module.exports = grammar({
432
432
  '(',
433
433
  field('condition', $.expression),
434
434
  ')',
435
- optional(choice(field('body', $._control_structure_body), ';'))
435
+ choice(field('body', $._control_structure_body), ';')
436
436
  )
437
437
  ),
438
438
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-kotlin",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "description": "Kotlin grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
Binary file
package/tree-sitter.json CHANGED
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "metadata": {
16
- "version": "9.0.0",
16
+ "version": "9.0.2",
17
17
  "license": "MIT",
18
18
  "description": "Kotlin grammar for tree-sitter",
19
19
  "authors": [