aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-05-07 13:02:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-05-07 13:02:16 -0300
commitee07ad346dde41180a4e27a3029940c89ce42bf0 (patch)
tree56569ab4d302d081e9b1108931a62133ade0b4bb /lua.c
parentfee9e473f256cf5abe9072be7d912e87f66c8818 (diff)
downloadlua-ee07ad346dde41180a4e27a3029940c89ce42bf0.tar.gz
lua-ee07ad346dde41180a4e27a3029940c89ce42bf0.tar.bz2
lua-ee07ad346dde41180a4e27a3029940c89ce42bf0.zip
`getn' doesn't need this field (values cannot be nil)
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lua.c b/lua.c
index bda5747c..761da8e7 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.c,v 1.121 2003/03/24 12:40:01 roberto Exp roberto $ 2** $Id: lua.c,v 1.122 2003/04/03 13:34:42 roberto Exp roberto $
3** Lua stand-alone interpreter 3** Lua stand-alone interpreter
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -155,10 +155,6 @@ static void getargs (char *argv[], int n) {
155 lua_pushstring(L, argv[i]); 155 lua_pushstring(L, argv[i]);
156 lua_rawset(L, -3); 156 lua_rawset(L, -3);
157 } 157 }
158 /* arg.n = maximum index in table `arg' */
159 lua_pushliteral(L, "n");
160 lua_pushnumber(L, i-n-1);
161 lua_rawset(L, -3);
162} 158}
163 159
164 160