From 13b4b44e35b4f15c80f986225756d5ef61c77c67 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 13 Jun 2021 13:25:18 +0900 Subject: [PATCH] [qfcc] Handle l and ll integer suffixes They're ignored, but allow recent vulkan headers to compile. Fixes #13 --- tools/qfcc/source/qc-lex.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/qc-lex.l b/tools/qfcc/source/qc-lex.l index 50e54817d..1a3cb9d99 100644 --- a/tools/qfcc/source/qc-lex.l +++ b/tools/qfcc/source/qc-lex.l @@ -122,7 +122,7 @@ STRING \"(\\.|[^"\\])*\" ^{s}*#{s}*pragma{s}+ { BEGIN (PRAGMA); } -{INT}+[uU]? { +{INT}+[uU]?([lL][lL]?)? { const char *c = yytext + yyleng - 1; int i;