@willbooster/tree-sitter-c 28.0.0 → 29.0.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
@@ -1915,9 +1915,9 @@ module.exports = Object.assign(
1915
1915
 
1916
1916
  type_descriptor: ($) =>
1917
1917
  seq(
1918
- repeat($.type_qualifier),
1918
+ repeat(choice($.type_qualifier, $.attribute_specifier)),
1919
1919
  field('type', alias($._type_name_specifier, $.type_specifier)),
1920
- repeat($.type_qualifier),
1920
+ repeat(choice($.type_qualifier, $.attribute_specifier)),
1921
1921
  field('declarator', optional($._abstract_declarator))
1922
1922
  ),
1923
1923
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c",
3
- "version": "28.0.0",
3
+ "version": "29.0.0",
4
4
  "description": "C grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "c",
@@ -4648,6 +4648,10 @@
4648
4648
  "multiple": true,
4649
4649
  "required": false,
4650
4650
  "types": [
4651
+ {
4652
+ "type": "attribute_specifier",
4653
+ "named": true
4654
+ },
4651
4655
  {
4652
4656
  "type": "type_qualifier",
4653
4657
  "named": true
Binary file
package/tree-sitter.json CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
  ],
26
26
  "metadata": {
27
- "version": "28.0.0",
27
+ "version": "29.0.0",
28
28
  "license": "MIT",
29
29
  "description": "C grammar for tree-sitter",
30
30
  "authors": [