X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fparser.re;h=a5f271d328c000c537764ebcef9799eafb31187b;hb=9af8675c2eed25f2af44789ad539646fec6240d0;hp=fb4e35bb3933e3fa4847ad04eb0f98d89bf2e12e;hpb=3d77b5b65efb78c1da9485dfde1fcd417066b803;p=m6w6%2Fext-psi diff --git a/src/parser.re b/src/parser.re index fb4e35b..a5f271d 100644 --- a/src/parser.re +++ b/src/parser.re @@ -366,9 +366,12 @@ struct psi_plist *psi_parser_scan(struct psi_parser *P, struct psi_parser_input "?" { NEWTOKEN(PSI_T_IIF); goto start; } "pragma" { NEWTOKEN(PSI_T_PRAGMA); goto start; } "pragma" W+ "once" { NEWTOKEN(PSI_T_PRAGMA_ONCE); goto start; } + "__inline" { NEWTOKEN(PSI_T_CPP_INLINE); goto start; } "__restrict" { NEWTOKEN(PSI_T_CPP_RESTRICT); goto start; } "__extension__" { NEWTOKEN(PSI_T_CPP_EXTENSION); goto start; } "__asm__" { NEWTOKEN(PSI_T_CPP_ASM); goto start; } + "volatile" { NEWTOKEN(PSI_T_VOLATILE); goto start; } + "sizeof" { NEWTOKEN(PSI_T_SIZEOF); goto start; } "line" { NEWTOKEN(PSI_T_LINE); goto start; } "typedef" { NEWTOKEN(PSI_T_TYPEDEF); goto start; } "struct" { NEWTOKEN(PSI_T_STRUCT); goto start; }