diff options
Diffstat (limited to 'lua.c')
| -rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.c,v 1.54 2000/10/17 13:36:24 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.55 2000/10/20 16:36:32 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 | */ |
| @@ -137,7 +137,7 @@ static void getargs (char *argv[]) { | |||
| 137 | lua_settable(L, -3); | 137 | lua_settable(L, -3); |
| 138 | } | 138 | } |
| 139 | /* arg.n = maximum index in table `arg' */ | 139 | /* arg.n = maximum index in table `arg' */ |
| 140 | lua_pushstring(L, "n"); | 140 | lua_pushliteral(L, "n"); |
| 141 | lua_pushnumber(L, i-1); | 141 | lua_pushnumber(L, i-1); |
| 142 | lua_settable(L, -3); | 142 | lua_settable(L, -3); |
| 143 | } | 143 | } |
