@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 +1 -1
- package/package.json +1 -1
- package/src/node-types.json +6 -2
- package/tree-sitter-c.wasm +0 -0
- package/tree-sitter.json +1 -1
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
package/src/node-types.json
CHANGED
|
@@ -2377,9 +2377,13 @@
|
|
|
2377
2377
|
"named": true,
|
|
2378
2378
|
"fields": {},
|
|
2379
2379
|
"children": {
|
|
2380
|
-
"multiple":
|
|
2381
|
-
"required":
|
|
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
|
package/tree-sitter-c.wasm
CHANGED
|
Binary file
|