mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
From Lua 5.2: Empty statement. Needs -DLUAJIT_ENABLE_LUA52COMPAT.
This commit is contained in:
parent
d82022a656
commit
f83d58d6fb
@ -2328,6 +2328,11 @@ static int parse_stmt(LexState *ls)
|
||||
lj_lex_next(ls);
|
||||
parse_break(ls);
|
||||
return 1; /* Must be last. */
|
||||
#ifdef LUAJIT_ENABLE_LUA52COMPAT
|
||||
case ';':
|
||||
lj_lex_next(ls);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
parse_call_assign(ls);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user