@willbooster/tree-sitter-go 2.1.0 → 2.1.1

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
@@ -711,8 +711,8 @@ module.exports = grammar({
711
711
  special_argument_list: $ => seq(
712
712
  '(',
713
713
  optional(seq(
714
- $._type,
715
- repeat(seq(',', $._expression)),
714
+ choice(prec.dynamic(PREC.primary, $._type), $._expression, $.variadic_argument),
715
+ repeat(seq(',', choice($._expression, $.variadic_argument))),
716
716
  optional(','),
717
717
  )),
718
718
  ')',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-go",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Go 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": "2.1.0",
17
+ "version": "2.1.1",
18
18
  "license": "MIT",
19
19
  "description": "Go grammar for tree-sitter",
20
20
  "authors": [