@willbooster/tree-sitter-rust 1.1.0 → 1.1.1

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.1",
4
4
  "description": "Rust grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
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.1",
26
26
  "license": "MIT",
27
27
  "description": "Rust grammar for tree-sitter",
28
28
  "authors": [