summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-15 17:14:27 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-15 17:14:27 -0300
commit4365c31c89666bae24afd800ac3251527d9dc9c8 (patch)
tree6989ce9a5c1874fc35be71887763521e09ce985a
parent44eb7d91ac24db572a50ccca388a401cbdfd6fe0 (diff)
downloadlua-4365c31c89666bae24afd800ac3251527d9dc9c8.tar.gz
lua-4365c31c89666bae24afd800ac3251527d9dc9c8.tar.bz2
lua-4365c31c89666bae24afd800ac3251527d9dc9c8.zip
new name for globaltable.
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 26e9d9e3..b0f38e7c 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 1.32 2000/08/08 20:42:07 roberto Exp roberto $ 2** $Id: ltests.c,v 1.33 2000/08/09 19:16:57 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -315,7 +315,7 @@ static void testC (void) {
315 lua_setglobal(getname(&pc)); 315 lua_setglobal(getname(&pc));
316 } 316 }
317 else if EQ("pushglobals") { 317 else if EQ("pushglobals") {
318 lua_pushglobaltable(); 318 lua_pushglobals();
319 } 319 }
320 else if EQ("pushstring") { 320 else if EQ("pushstring") {
321 lua_pushstring(getname(&pc)); 321 lua_pushstring(getname(&pc));