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
1 changed files with 1 additions and 1 deletions

View File

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