@konomanoasa/tree-sitter-posix-awk 0.14.0 → 0.15.0
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/Cargo.toml +1 -1
- package/grammar.js +2 -1
- package/package.json +1 -1
- package/src/grammar.json +19 -2
- package/src/node-types.json +4 -0
- package/src/parser.c +20583 -20498
- package/tree-sitter.json +1 -1
package/Cargo.toml
CHANGED
package/grammar.js
CHANGED
|
@@ -796,7 +796,8 @@ export default grammar({
|
|
|
796
796
|
")",
|
|
797
797
|
),
|
|
798
798
|
|
|
799
|
-
param_list: ($) =>
|
|
799
|
+
param_list: ($) =>
|
|
800
|
+
seq($.name, repeat(seq(",", afterOptionalNewline($, $.name)))),
|
|
800
801
|
|
|
801
802
|
pattern: ($) => choice($.normal_pattern, $.special_pattern),
|
|
802
803
|
|
package/package.json
CHANGED
package/src/grammar.json
CHANGED
|
@@ -446,8 +446,25 @@
|
|
|
446
446
|
"value": ","
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
|
-
"type": "
|
|
450
|
-
"
|
|
449
|
+
"type": "SEQ",
|
|
450
|
+
"members": [
|
|
451
|
+
{
|
|
452
|
+
"type": "CHOICE",
|
|
453
|
+
"members": [
|
|
454
|
+
{
|
|
455
|
+
"type": "SYMBOL",
|
|
456
|
+
"name": "newline_opt"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"type": "BLANK"
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"type": "SYMBOL",
|
|
465
|
+
"name": "name"
|
|
466
|
+
}
|
|
467
|
+
]
|
|
451
468
|
}
|
|
452
469
|
]
|
|
453
470
|
}
|