From Lua 5.2: Empty statement. Needs -DLUAJIT_ENABLE_LUA52COMPAT.

master
Mike Pall 2011-02-20 20:38:36 +01:00
parent d82022a656
commit f83d58d6fb
1 changed files with 5 additions and 0 deletions

View File

@ -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;