X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser_scan.re;h=a02fdd0e3d950a17db2ef8e31bd9924d1f9e3a50;hp=0ba9978f7af9ca11570721133796eb12f0657edd;hb=93d6b7f962a82b725d1918684297d68221b0b733;hpb=c57af11984f284e7e9de5bde5c189c416004638c;ds=sidebyside diff --git a/src/parser_scan.re b/src/parser_scan.re index 0ba9978..a02fdd0 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; }