Explorar o código

new name for globaltable.

Roberto Ierusalimschy %!s(int64=25) %!d(string=hai) anos
pai
achega
4365c31c89
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      ltests.c

+ 2 - 2
ltests.c

@@ -1,5 +1,5 @@
 /*
-** $Id: ltests.c,v 1.32 2000/08/08 20:42:07 roberto Exp roberto $
+** $Id: ltests.c,v 1.33 2000/08/09 19:16:57 roberto Exp roberto $
 ** Internal Module for Debugging of the Lua Implementation
 ** See Copyright Notice in lua.h
 */
@@ -315,7 +315,7 @@ static void testC (void) {
       lua_setglobal(getname(&pc));
     }
     else if EQ("pushglobals") {
-      lua_pushglobaltable();
+      lua_pushglobals();
     }
     else if EQ("pushstring") {
       lua_pushstring(getname(&pc));