tree-sitter-sh 0.10.0 → 0.11.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/grammar.js +2 -1
- package/package.json +2 -1
- package/src/arithmetic.h +1346 -0
- package/src/grammar.json +6 -2
- package/src/parser.c +359399 -353076
- package/src/scanner.c +254 -128
- package/tree-sitter.json +2 -1
package/grammar.js
CHANGED
|
@@ -469,7 +469,7 @@ const patternCharacterClassSource = ($, content) =>
|
|
|
469
469
|
seq(
|
|
470
470
|
patternSpecialStart($, alias($._pattern_character_class_colon, ":")),
|
|
471
471
|
patternCharacterClassBody($, content),
|
|
472
|
-
patternSpecialEnd($, alias($.
|
|
472
|
+
patternSpecialEnd($, alias($._pattern_character_class_end_colon, ":")),
|
|
473
473
|
),
|
|
474
474
|
);
|
|
475
475
|
|
|
@@ -897,6 +897,7 @@ export default grammar({
|
|
|
897
897
|
$._backquote_dollar_single_quote_text,
|
|
898
898
|
$._backquote_dollar_single_quote_prefix,
|
|
899
899
|
$._backquote_pattern_escape,
|
|
900
|
+
$._pattern_character_class_end_colon,
|
|
900
901
|
],
|
|
901
902
|
|
|
902
903
|
conflicts: ($) => [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tree-sitter-sh",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tree-sitter grammar for POSIX sh.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"grammar.js",
|
|
10
10
|
"queries/*.scm",
|
|
11
11
|
"src/*.c",
|
|
12
|
+
"src/*.h",
|
|
12
13
|
"src/*.json",
|
|
13
14
|
"src/tree_sitter/*.h",
|
|
14
15
|
"tree-sitter.json"
|