From e2b6b7de1b51ac662ad76423e045d0cf3274f051 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 27 Oct 2000 09:39:52 -0200 Subject: details --- lparser.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lparser.c') diff --git a/lparser.c b/lparser.c index 20cfad38..7e6da470 100644 --- a/lparser.c +++ b/lparser.c @@ -1,5 +1,5 @@ /* -** $Id: lparser.c,v 1.114 2000/09/29 12:42:13 roberto Exp roberto $ +** $Id: lparser.c,v 1.115 2000/10/10 19:51:15 roberto Exp roberto $ ** LL(1) Parser and code generator for Lua ** See Copyright Notice in lua.h */ @@ -859,8 +859,8 @@ static void fornum (LexState *ls, TString *varname) { else luaK_code1(fs, OP_PUSHINT, 1); /* default step */ new_localvar(ls, varname, 0); - new_localvarstr(ls, "*limit*", 1); - new_localvarstr(ls, "*step*", 2); + new_localvarstr(ls, "(limit)", 1); + new_localvarstr(ls, "(step)", 2); forbody(ls, 3, OP_FORPREP, OP_FORLOOP); } @@ -876,7 +876,7 @@ static void forlist (LexState *ls, TString *indexname) { "`in' expected"); next(ls); /* skip `in' */ exp1(ls); /* table */ - new_localvarstr(ls, "*table*", 0); + new_localvarstr(ls, "(table)", 0); new_localvar(ls, indexname, 1); new_localvar(ls, valname, 2); forbody(ls, 3, OP_LFORPREP, OP_LFORLOOP); -- cgit v1.2.3-55-g6feb