Support __extension__

This commit is contained in:
josh committed 2018-05-12 11:57:44 -04:00
1 parent 6890ac97b5
commit e9931d576b
2 files changed
+3

No files matched your search

+1
View File
@@ -126,6 +126,7 @@ __attribute__ return ATTRIBUTE;
__restrict return RESTRICT;
asm return ASM;
__asm__ return ASM;
__extension__ return EXTENSION;
L?'[^\\]' return CHAR_CONST;
L?'\\.' return CHAR_CONST;
+2
View File
@@ -115,6 +115,7 @@ int yylex(YYSTYPE *, YYLTYPE *);
%token ATTRIBUTE;
%token RESTRICT;
%token ASM;
%token EXTENSION;
%start translation_unit
@@ -424,6 +425,7 @@ type_qualifier
: CONST
| VOLATILE
| RESTRICT
| EXTENSION
;
declarator