summaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-10 14:58:11 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-10 14:58:11 -0200
commit4ff55457095728b95cc5dcdbab0bca7255bd5387 (patch)
tree661c6a3b6143aa66f2171811a1c87493abb17fc8 /lua.c
parent595e449537eb6ff17fa6c58742920a1a609fc5c5 (diff)
downloadlua-github-4ff55457095728b95cc5dcdbab0bca7255bd5387.tar.gz
new macro pushliteral
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.c b/lua.c
index 47d69ecc..5b8732a4 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
/*
-** $Id: lua.c,v 1.54 2000/10/17 13:36:24 roberto Exp roberto $
+** $Id: lua.c,v 1.55 2000/10/20 16:36:32 roberto Exp roberto $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
@@ -137,7 +137,7 @@ static void getargs (char *argv[]) {
lua_settable(L, -3);
}
/* arg.n = maximum index in table `arg' */
- lua_pushstring(L, "n");
+ lua_pushliteral(L, "n");
lua_pushnumber(L, i-1);
lua_settable(L, -3);
}