aboutsummaryrefslogtreecommitdiff
path: root/ldblib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-01-10 14:30:59 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-01-10 14:30:59 -0200
commite791f025c0c59b0a428fab604a7e2251cca568f5 (patch)
treedeb5ce4cccee88d6738b90ce162e5a6f2091d6af /ldblib.c
parentf61d435a7d34a07c2edd51714ad6072916e40092 (diff)
downloadlua-e791f025c0c59b0a428fab604a7e2251cca568f5.tar.gz
lua-e791f025c0c59b0a428fab604a7e2251cca568f5.tar.bz2
lua-e791f025c0c59b0a428fab604a7e2251cca568f5.zip
no more `_TRACEBACK' variable
Diffstat (limited to 'ldblib.c')
-rw-r--r--ldblib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ldblib.c b/ldblib.c
index cac06e77..244b24d0 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -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
339LUALIB_API int luaopen_debug (lua_State *L) { 339LUALIB_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