Browse Source

Fix function declarations with ms_call_modifier being incorrect.

pull/321/head
eezstreet 1 year ago
committed by John Drouhard
parent
commit
dbea41aa97
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      grammar.js

+ 1
- 0
grammar.js View File

@ -252,6 +252,7 @@ module.exports = grammar(C, {
seq(
// C uses _declaration_declarator here for some nice macro parsing in function declarators,
// but this causes a world of pain for C++ so we'll just stick to the normal _declarator here.
optional($.ms_call_modifier),
$._declarator,
optional($.gnu_asm_expression),
),

Loading…
Cancel
Save