From e9aa98d59484013b0aec29ddb197b3bd4b98b2f1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 25 Mar 1999 18:06:57 -0300 Subject: do not generate SETLINE after main (it will be after last line) --- lparser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lparser.c b/lparser.c index 6e95738c..221fdf40 100644 --- a/lparser.c +++ b/lparser.c @@ -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, " expected"); close_func(&lexstate); -- cgit v1.2.3-55-g6feb