Sfoglia il codice sorgente

Fix function declarations with ms_call_modifier being incorrect.

pull/321/head
eezstreet 11 mesi fa
committed by John Drouhard
parent
commit
dbea41aa97
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      grammar.js

+ 1
- 0
grammar.js Vedi 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),
),

Caricamento…
Annulla
Salva