From 2679ade8cd3a7690d845f77e65c3c0840278aef3 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 26 Oct 2002 03:41:10 +0000 Subject: [PATCH] forgot 0X0 was just as valid as 0x0 --- 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 cc845566d..87ee64ac8 100644 --- a/tools/qfcc/source/qc-lex.l +++ b/tools/qfcc/source/qc-lex.l @@ -105,7 +105,7 @@ m ([\-+]?) return INT_VAL; } -0x{XDIGIT}+ { +0[xX]{XDIGIT}+ { const char *c = yytext + 2; yylval.integer_val = 0; while (*c) {