From e791f025c0c59b0a428fab604a7e2251cca568f5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 10 Jan 2005 14:30:59 -0200 Subject: no more `_TRACEBACK' variable --- ldblib.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index cac06e77..244b24d0 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.88 2004/09/21 17:58:06 roberto Exp roberto $ +** $Id: ldblib.c,v 1.89 2004/11/17 12:02:41 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -338,8 +338,6 @@ static const luaL_reg dblib[] = { LUALIB_API int luaopen_debug (lua_State *L) { luaL_openlib(L, LUA_DBLIBNAME, dblib, 0); - lua_pushcfunction(L, errorfb); - lua_setglobal(L, "_TRACEBACK"); return 1; } -- cgit v1.2.3-55-g6feb