forgot 0X0 was just as valid as 0x0

This commit is contained in:
Bill Currie 2002-10-26 03:41:10 +00:00
parent 99cdcc9bd7
commit 2679ade8cd

View file

@ -105,7 +105,7 @@ m ([\-+]?)
return INT_VAL; return INT_VAL;
} }
0x{XDIGIT}+ { 0[xX]{XDIGIT}+ {
const char *c = yytext + 2; const char *c = yytext + 2;
yylval.integer_val = 0; yylval.integer_val = 0;
while (*c) { while (*c) {