@willbooster/tree-sitter-c 1.0.0 → 1.0.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
@@ -315,7 +315,7 @@ module.exports = Object.assign(
315
315
 
316
316
  attribute_declaration: ($) => seq('[[', commaSep1($.attribute), ']]'),
317
317
 
318
- ms_declspec_modifier: ($) => seq('__declspec', '(', $.identifier, ')'),
318
+ ms_declspec_modifier: ($) => seq('__declspec', '(', repeat(seq($.identifier, optional($.argument_list))), ')'),
319
319
 
320
320
  ms_based_modifier: ($) => seq('__based', $.argument_list),
321
321
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "C grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -2377,9 +2377,13 @@
2377
2377
  "named": true,
2378
2378
  "fields": {},
2379
2379
  "children": {
2380
- "multiple": false,
2381
- "required": true,
2380
+ "multiple": true,
2381
+ "required": false,
2382
2382
  "types": [
2383
+ {
2384
+ "type": "argument_list",
2385
+ "named": true
2386
+ },
2383
2387
  {
2384
2388
  "type": "identifier",
2385
2389
  "named": true
Binary file
package/tree-sitter.json CHANGED
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "metadata": {
19
- "version": "1.0.0",
19
+ "version": "1.0.1",
20
20
  "license": "MIT",
21
21
  "description": "C grammar for tree-sitter",
22
22
  "authors": [