tree-sitter-zsh 0.52.0 → 0.53.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 CHANGED
@@ -485,7 +485,7 @@ module.exports = grammar({
485
485
 
486
486
  select_statement: $ => seq(
487
487
  'select',
488
- field('variable', $.variable_name),
488
+ field('variable', $._simple_variable_name),
489
489
  optional(seq(
490
490
  'in',
491
491
  repeat1($._literal),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tree-sitter-zsh",
3
- "version": "0.52.0",
3
+ "version": "0.53.0",
4
4
  "description": "Zsh grammar for tree-sitter",
5
5
  "repository": {
6
6
  "type": "git",
package/src/grammar.json CHANGED
@@ -1748,7 +1748,7 @@
1748
1748
  "name": "variable",
1749
1749
  "content": {
1750
1750
  "type": "SYMBOL",
1751
- "name": "variable_name"
1751
+ "name": "_simple_variable_name"
1752
1752
  }
1753
1753
  },
1754
1754
  {
@@ -3590,7 +3590,7 @@
3590
3590
  "required": true,
3591
3591
  "types": [
3592
3592
  {
3593
- "type": "variable_name",
3593
+ "type": "simple_variable_name",
3594
3594
  "named": true
3595
3595
  }
3596
3596
  ]
package/src/parser.c CHANGED
@@ -1,4 +1,4 @@
1
- /* Automatically @generated by tree-sitter v0.25.10 */
1
+ /* Automatically @generated by tree-sitter */
2
2
 
3
3
  #include "tree_sitter/parser.h"
4
4
 
@@ -1110566,7 +1110566,7 @@ static const uint16_t ts_small_parse_table[] = {
1110566
1110566
  ACTIONS(5769), 1,
1110567
1110567
  sym_comment,
1110568
1110568
  ACTIONS(38121), 1,
1110569
- sym_variable_name,
1110569
+ sym_simple_variable_name,
1110570
1110570
  [1069109] = 2,
1110571
1110571
  ACTIONS(5769), 1,
1110572
1110572
  sym_comment,
@@ -1115386,7 +1115386,7 @@ static const uint16_t ts_small_parse_table[] = {
1115386
1115386
  ACTIONS(5769), 1,
1115387
1115387
  sym_comment,
1115388
1115388
  ACTIONS(39629), 1,
1115389
- sym_variable_name,
1115389
+ sym_simple_variable_name,
1115390
1115390
  [1075857] = 2,
1115391
1115391
  ACTIONS(5769), 1,
1115392
1115392
  sym_comment,
@@ -1116011,7 +1116011,7 @@ static const uint16_t ts_small_parse_table[] = {
1116011
1116011
  ACTIONS(5769), 1,
1116012
1116012
  sym_comment,
1116013
1116013
  ACTIONS(39807), 1,
1116014
- sym_variable_name,
1116014
+ sym_simple_variable_name,
1116015
1116015
  [1076732] = 2,
1116016
1116016
  ACTIONS(5769), 1,
1116017
1116017
  sym_comment,
@@ -1116096,7 +1116096,7 @@ static const uint16_t ts_small_parse_table[] = {
1116096
1116096
  ACTIONS(5769), 1,
1116097
1116097
  sym_comment,
1116098
1116098
  ACTIONS(39835), 1,
1116099
- sym_variable_name,
1116099
+ sym_simple_variable_name,
1116100
1116100
  [1076851] = 2,
1116101
1116101
  ACTIONS(5769), 1,
1116102
1116102
  sym_comment,
@@ -1116161,7 +1116161,7 @@ static const uint16_t ts_small_parse_table[] = {
1116161
1116161
  ACTIONS(5769), 1,
1116162
1116162
  sym_comment,
1116163
1116163
  ACTIONS(39857), 1,
1116164
- sym_variable_name,
1116164
+ sym_simple_variable_name,
1116165
1116165
  [1076942] = 2,
1116166
1116166
  ACTIONS(5769), 1,
1116167
1116167
  sym_comment,
@@ -1116226,7 +1116226,7 @@ static const uint16_t ts_small_parse_table[] = {
1116226
1116226
  ACTIONS(5769), 1,
1116227
1116227
  sym_comment,
1116228
1116228
  ACTIONS(39877), 1,
1116229
- sym_variable_name,
1116229
+ sym_simple_variable_name,
1116230
1116230
  [1077033] = 2,
1116231
1116231
  ACTIONS(5769), 1,
1116232
1116232
  sym_comment,
@@ -1116291,7 +1116291,7 @@ static const uint16_t ts_small_parse_table[] = {
1116291
1116291
  ACTIONS(5769), 1,
1116292
1116292
  sym_comment,
1116293
1116293
  ACTIONS(39897), 1,
1116294
- sym_variable_name,
1116294
+ sym_simple_variable_name,
1116295
1116295
  [1077124] = 2,
1116296
1116296
  ACTIONS(5769), 1,
1116297
1116297
  sym_comment,
@@ -1174336,7 +1174336,7 @@ static const bool ts_external_scanner_states[315][EXTERNAL_TOKEN_COUNT] = {
1174336
1174336
  [ts_external_token__pattern_suffix_start] = true,
1174337
1174337
  },
1174338
1174338
  [314] = {
1174339
- [ts_external_token_variable_name] = true,
1174339
+ [ts_external_token_simple_variable_name] = true,
1174340
1174340
  },
1174341
1174341
  };
1174342
1174342
 
@@ -1174403,7 +1174403,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_zsh(void) {
1174403
1174403
  .max_reserved_word_set_size = 0,
1174404
1174404
  .metadata = {
1174405
1174405
  .major_version = 0,
1174406
- .minor_version = 52,
1174406
+ .minor_version = 53,
1174407
1174407
  .patch_version = 0,
1174408
1174408
  },
1174409
1174409
  };
package/tree-sitter.json CHANGED
@@ -18,7 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "metadata": {
21
- "version": "0.52.0",
21
+ "version": "0.53.0",
22
22
  "license": "MIT",
23
23
  "description": "Zsh grammar for tree-sitter",
24
24
  "authors": [