@willbooster/tree-sitter-rust 1.1.0 → 1.1.2

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
@@ -833,7 +833,15 @@ module.exports = grammar({
833
833
 
834
834
  macro_invocation: ($) =>
835
835
  seq(
836
- field('macro', choice($.scoped_identifier, $.identifier, $._reserved_identifier)),
836
+ field(
837
+ 'macro',
838
+ choice(
839
+ $.scoped_identifier,
840
+ $.identifier,
841
+ alias(choice(...primitiveTypes), $.identifier),
842
+ $._reserved_identifier
843
+ )
844
+ ),
837
845
  '!',
838
846
  alias($.delim_token_tree, $.token_tree)
839
847
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-rust",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Rust grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -28,7 +28,7 @@
28
28
  "lint": "bun wb lint",
29
29
  "lint-fix": "bun wb lint --fix",
30
30
  "prepare": "(bun lefthook install || true) && (test ! -f .lefthook/normalize-bun-lockfile.sh || bash .lefthook/normalize-bun-lockfile.sh)",
31
- "release": "wb release",
31
+ "release": "node script/release.mjs",
32
32
  "prestart": "bun run build-wasm",
33
33
  "start": "tree-sitter playground",
34
34
  "test": "bun wb test",
Binary file
package/tree-sitter.json CHANGED
@@ -22,7 +22,7 @@
22
22
  }
23
23
  ],
24
24
  "metadata": {
25
- "version": "1.1.0",
25
+ "version": "1.1.2",
26
26
  "license": "MIT",
27
27
  "description": "Rust grammar for tree-sitter",
28
28
  "authors": [