mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Avoid compiler warning.
This commit is contained in:
parent
65dec38e44
commit
02dc9d1082
@ -173,7 +173,7 @@ static void read_string(LexState *ls, int delim, TValue *tv)
|
|||||||
c = 10*c + (ls->current-'0');
|
c = 10*c + (ls->current-'0');
|
||||||
next(ls);
|
next(ls);
|
||||||
} while (++i<3 && lj_ctype_isdigit(ls->current));
|
} while (++i<3 && lj_ctype_isdigit(ls->current));
|
||||||
if (c > UCHAR_MAX)
|
if (c > 255)
|
||||||
lj_lex_error(ls, TK_string, LJ_ERR_XESC);
|
lj_lex_error(ls, TK_string, LJ_ERR_XESC);
|
||||||
save(ls, c);
|
save(ls, c);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user