diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-10 14:30:59 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-10 14:30:59 -0200 |
commit | e791f025c0c59b0a428fab604a7e2251cca568f5 (patch) | |
tree | deb5ce4cccee88d6738b90ce162e5a6f2091d6af /ldblib.c | |
parent | f61d435a7d34a07c2edd51714ad6072916e40092 (diff) | |
download | lua-e791f025c0c59b0a428fab604a7e2251cca568f5.tar.gz lua-e791f025c0c59b0a428fab604a7e2251cca568f5.tar.bz2 lua-e791f025c0c59b0a428fab604a7e2251cca568f5.zip |
no more `_TRACEBACK' variable
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 | ||