lua

A copy of the Lua development repository
Log | Files | Refs | README

commit ee07ad346dde41180a4e27a3029940c89ce42bf0
parent fee9e473f256cf5abe9072be7d912e87f66c8818
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed,  7 May 2003 13:01:54 -0300

`getn' doesn't need this field (values cannot be nil)

Diffstat:
Mlua.c | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/lua.c b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.121 2003/03/24 12:40:01 roberto Exp roberto $ +** $Id: lua.c,v 1.122 2003/04/03 13:34:42 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -155,10 +155,6 @@ static void getargs (char *argv[], int n) { lua_pushstring(L, argv[i]); lua_rawset(L, -3); } - /* arg.n = maximum index in table `arg' */ - lua_pushliteral(L, "n"); - lua_pushnumber(L, i-n-1); - lua_rawset(L, -3); }