Fix hex constant in lParseInteger() (missing an f)

This commit is contained in:
Matt Pharr
2012-10-16 06:03:33 -07:00
parent 9002837750
commit 09dc217f8c

2
lex.ll
View File

@@ -592,7 +592,7 @@ lParseInteger(bool dotdotdot) {
return us ? TOKEN_UINT32_CONSTANT : TOKEN_INT32_CONSTANT;
else if (us) {
// u suffix only
if (yylval.intVal <= 0xfffffffL)
if (yylval.intVal <= 0xffffffffL)
return TOKEN_UINT32_CONSTANT;
else
return TOKEN_UINT64_CONSTANT;