浏览代码

new name for globaltable.

Roberto Ierusalimschy 25 年之前
父节点
当前提交
4365c31c89
共有 1 个文件被更改,包括 2 次插入2 次删除
  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));