[qfcc] Handle l and ll integer suffixes

They're ignored, but allow recent vulkan headers to compile.
Fixes #13
This commit is contained in:
Bill Currie 2021-06-13 13:25:18 +09:00
parent 63eaf9e823
commit 13b4b44e35

View file

@ -122,7 +122,7 @@ STRING \"(\\.|[^"\\])*\"
^{s}*#{s}*pragma{s}+ { BEGIN (PRAGMA); } ^{s}*#{s}*pragma{s}+ { BEGIN (PRAGMA); }
{INT}+[uU]? { {INT}+[uU]?([lL][lL]?)? {
const char *c = yytext + yyleng - 1; const char *c = yytext + yyleng - 1;
int i; int i;