Skip to content

Commit 803a93a

Browse files
eezstreetjdrouhard
authored andcommitted
Fix function declarations with ms_call_modifier being incorrect.
1 parent 1a05663 commit 803a93a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grammar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ module.exports = grammar(C, {
252252
seq(
253253
// C uses _declaration_declarator here for some nice macro parsing in function declarators,
254254
// but this causes a world of pain for C++ so we'll just stick to the normal _declarator here.
255+
optional($.ms_call_modifier),
255256
$._declarator,
256257
optional($.gnu_asm_expression),
257258
),

0 commit comments

Comments
 (0)