tree-sitter-objectscript 1.9.20 → 1.9.21

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/core/src/parser.c CHANGED
@@ -1180328,7 +1180328,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript_core(void) {
1180328
1180328
  .metadata = {
1180329
1180329
  .major_version = 1,
1180330
1180330
  .minor_version = 9,
1180331
- .patch_version = 20,
1180331
+ .patch_version = 21,
1180332
1180332
  },
1180333
1180333
  };
1180334
1180334
  return &language;
package/expr/src/parser.c CHANGED
@@ -33540,7 +33540,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript_expr(void) {
33540
33540
  .metadata = {
33541
33541
  .major_version = 1,
33542
33542
  .minor_version = 9,
33543
- .patch_version = 20,
33543
+ .patch_version = 21,
33544
33544
  },
33545
33545
  };
33546
33546
  return &language;
@@ -1298612,7 +1298612,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript(void) {
1298612
1298612
  .metadata = {
1298613
1298613
  .major_version = 1,
1298614
1298614
  .minor_version = 9,
1298615
- .patch_version = 20,
1298615
+ .patch_version = 21,
1298616
1298616
  },
1298617
1298617
  };
1298618
1298618
  return &language;
@@ -1237875,7 +1237875,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript_routine(void) {
1237875
1237875
  .metadata = {
1237876
1237876
  .major_version = 1,
1237877
1237877
  .minor_version = 9,
1237878
- .patch_version = 20,
1237878
+ .patch_version = 21,
1237879
1237879
  },
1237880
1237880
  };
1237881
1237881
  return &language;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tree-sitter-objectscript",
3
- "version": "1.9.20",
3
+ "version": "1.9.21",
4
4
  "description": "Tree Sitter Grammar for InterSystems ObjectScript",
5
5
  "scripts": {
6
6
  "install": "node-gyp-build",
package/tree-sitter.json CHANGED
@@ -56,7 +56,7 @@
56
56
  }
57
57
  ],
58
58
  "metadata": {
59
- "version": "1.9.20",
59
+ "version": "1.9.21",
60
60
  "license": "MIT",
61
61
  "description": "ObjectScript grammars for tree-sitter",
62
62
  "namespace": "io.github.treesitter.objectscript",
@@ -141,11 +141,12 @@
141
141
  (#any-of? @_mt "text/css" "\"text/css\"")
142
142
  (#set! injection.language "css"))
143
143
 
144
- ; -----------------------------------------
145
- ; XDATA default (no MimeType): XML fallback
146
- ; -----------------------------------------
147
- (xdata
148
- (external_method_body_content) @injection.content
144
+ ; --------------------------------------------
145
+ ; XDATA default (no MimeType header): XML fallback
146
+ ; --------------------------------------------
147
+ ((xdata
148
+ (external_method_body_content) @injection.content) @_xdata
149
+ (#not-match? @_xdata "^[^{}]*[Mm][Ii][Mm][Ee][Tt][Yy][Pp][Ee][ \t\r\n]*=")
149
150
  (#set! injection.include-children "true")
150
151
  (#set! injection.language "xml"))
151
152
 
package/udl/src/parser.c CHANGED
@@ -1258151,7 +1258151,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript_udl(void) {
1258151
1258151
  .metadata = {
1258152
1258152
  .major_version = 1,
1258153
1258153
  .minor_version = 9,
1258154
- .patch_version = 20,
1258154
+ .patch_version = 21,
1258155
1258155
  },
1258156
1258156
  };
1258157
1258157
  return &language;