mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
do not generate SETLINE after main (it will be after last line)
This commit is contained in:
parent
3e9c6a8a24
commit
e9aa98d594
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lparser.c,v 1.29 1999/03/11 19:00:12 roberto Exp roberto $
|
||||
** $Id: lparser.c,v 1.30 1999/03/23 19:58:37 roberto Exp roberto $
|
||||
** LL(1) Parser and code generator for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -662,7 +662,6 @@ TProtoFunc *luaY_parser (ZIO *z) {
|
|||
init_state(&lexstate, &funcstate, luaS_new(zname(z)));
|
||||
next(&lexstate); /* read first token */
|
||||
chunk(&lexstate);
|
||||
check_debugline(&lexstate);
|
||||
if (lexstate.token != EOS)
|
||||
luaX_error(&lexstate, "<eof> expected");
|
||||
close_func(&lexstate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue