X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser_scan.re;h=78977a157aa518971fda23833b1fe825f3d03833;hp=0ba9978f7af9ca11570721133796eb12f0657edd;hb=0682ecb84dfe1de08b609c6c0ae641b06f3fa481;hpb=c57af11984f284e7e9de5bde5c189c416004638c diff --git a/src/parser_scan.re b/src/parser_scan.re index 0ba9978..78977a1 100644 --- a/src/parser_scan.re +++ b/src/parser_scan.re @@ -172,7 +172,6 @@ struct psi_plist *psi_parser_scan(struct psi_parser *P, struct psi_parser_input "..." { NEWTOKEN(PSI_T_ELLIPSIS); goto start; } "?" { 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; } @@ -219,7 +218,6 @@ struct psi_plist *psi_parser_scan(struct psi_parser *P, struct psi_parser_input 'CALLBACK' { NEWTOKEN(PSI_T_CALLBACK); goto start; } 'STATIC' { NEWTOKEN(PSI_T_STATIC); goto start; } 'FUNCTION' { NEWTOKEN(PSI_T_FUNCTION); goto start; } - 'LIB' { NEWTOKEN(PSI_T_LIB); goto start; } 'LET' { NEWTOKEN(PSI_T_LET); goto start; } 'SET' { NEWTOKEN(PSI_T_SET); goto start; } 'PRE_ASSERT' { NEWTOKEN(PSI_T_PRE_ASSERT); goto start; }