diff options
Diffstat (limited to 'linit.c')
-rw-r--r-- | linit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: linit.c,v 1.20 2009/09/05 12:39:29 roberto Exp roberto $ | 2 | ** $Id: linit.c,v 1.21 2009/12/11 13:40:44 roberto Exp roberto $ |
3 | ** Initialization of libraries for lua.c and other clients | 3 | ** Initialization of libraries for lua.c and other clients |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -63,7 +63,7 @@ LUALIB_API void luaL_openlibs (lua_State *L) { | |||
63 | lua_setfield(L, -2, lib->name); | 63 | lua_setfield(L, -2, lib->name); |
64 | } | 64 | } |
65 | lua_pop(L, 1); /* remove package.preload table */ | 65 | lua_pop(L, 1); /* remove package.preload table */ |
66 | #ifdef LUA_COMPAT_DEBUGLIB | 66 | #if defined(LUA_COMPAT_DEBUGLIB) |
67 | lua_getfield(L, LUA_GLOBALSINDEX, "require"); | 67 | lua_getfield(L, LUA_GLOBALSINDEX, "require"); |
68 | lua_pushliteral(L, LUA_DBLIBNAME); | 68 | lua_pushliteral(L, LUA_DBLIBNAME); |
69 | lua_call(L, 1, 0); /* call 'require"debug"' */ | 69 | lua_call(L, 1, 0); /* call 'require"debug"' */ |