@willbooster/tree-sitter-c 1.4.0 → 1.4.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 +4 -4
- package/package.json +1 -1
- package/src/node-types.json +8 -0
- package/tree-sitter-c.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -461,7 +461,7 @@ module.exports = Object.assign(
|
|
|
461
461
|
'*',
|
|
462
462
|
repeat($.attribute_declaration),
|
|
463
463
|
repeat($.ms_pointer_modifier),
|
|
464
|
-
repeat($.type_qualifier),
|
|
464
|
+
repeat(choice($.type_qualifier, $.attribute_specifier)),
|
|
465
465
|
field('declarator', $._declarator)
|
|
466
466
|
)
|
|
467
467
|
)
|
|
@@ -475,7 +475,7 @@ module.exports = Object.assign(
|
|
|
475
475
|
'*',
|
|
476
476
|
repeat($.attribute_declaration),
|
|
477
477
|
repeat($.ms_pointer_modifier),
|
|
478
|
-
repeat($.type_qualifier),
|
|
478
|
+
repeat(choice($.type_qualifier, $.attribute_specifier)),
|
|
479
479
|
field('declarator', $._field_declarator)
|
|
480
480
|
)
|
|
481
481
|
)
|
|
@@ -489,7 +489,7 @@ module.exports = Object.assign(
|
|
|
489
489
|
'*',
|
|
490
490
|
repeat($.attribute_declaration),
|
|
491
491
|
repeat($.ms_pointer_modifier),
|
|
492
|
-
repeat($.type_qualifier),
|
|
492
|
+
repeat(choice($.type_qualifier, $.attribute_specifier)),
|
|
493
493
|
field('declarator', $._type_declarator)
|
|
494
494
|
)
|
|
495
495
|
)
|
|
@@ -502,7 +502,7 @@ module.exports = Object.assign(
|
|
|
502
502
|
'*',
|
|
503
503
|
repeat($.attribute_declaration),
|
|
504
504
|
repeat($.ms_pointer_modifier),
|
|
505
|
-
repeat($.type_qualifier),
|
|
505
|
+
repeat(choice($.type_qualifier, $.attribute_specifier)),
|
|
506
506
|
field('declarator', optional($._abstract_declarator))
|
|
507
507
|
)
|
|
508
508
|
)
|
package/package.json
CHANGED
package/src/node-types.json
CHANGED
|
@@ -449,6 +449,10 @@
|
|
|
449
449
|
"type": "attribute_declaration",
|
|
450
450
|
"named": true
|
|
451
451
|
},
|
|
452
|
+
{
|
|
453
|
+
"type": "attribute_specifier",
|
|
454
|
+
"named": true
|
|
455
|
+
},
|
|
452
456
|
{
|
|
453
457
|
"type": "ms_pointer_modifier",
|
|
454
458
|
"named": true
|
|
@@ -2775,6 +2779,10 @@
|
|
|
2775
2779
|
"type": "attribute_declaration",
|
|
2776
2780
|
"named": true
|
|
2777
2781
|
},
|
|
2782
|
+
{
|
|
2783
|
+
"type": "attribute_specifier",
|
|
2784
|
+
"named": true
|
|
2785
|
+
},
|
|
2778
2786
|
{
|
|
2779
2787
|
"type": "ms_based_modifier",
|
|
2780
2788
|
"named": true
|
package/tree-sitter-c.wasm
CHANGED
|
Binary file
|