diff options
Diffstat (limited to 'ldblib.c')
-rw-r--r-- | ldblib.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldblib.c,v 1.88 2004/09/21 17:58:06 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.89 2004/11/17 12:02:41 roberto Exp roberto $ |
3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -338,8 +338,6 @@ static const luaL_reg dblib[] = { | |||
338 | 338 | ||
339 | LUALIB_API int luaopen_debug (lua_State *L) { | 339 | LUALIB_API int luaopen_debug (lua_State *L) { |
340 | luaL_openlib(L, LUA_DBLIBNAME, dblib, 0); | 340 | luaL_openlib(L, LUA_DBLIBNAME, dblib, 0); |
341 | lua_pushcfunction(L, errorfb); | ||
342 | lua_setglobal(L, "_TRACEBACK"); | ||
343 | return 1; | 341 | return 1; |
344 | } | 342 | } |
345 | 343 | ||