aboutsummaryrefslogtreecommitdiff
path: root/ldblib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldblib.c')
-rw-r--r--ldblib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldblib.c b/ldblib.c
index 440b4a9c..fb2ebd6d 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldblib.c,v 1.82 2003/10/07 20:13:41 roberto Exp roberto $ 2** $Id: ldblib.c,v 1.83 2003/10/10 12:57:55 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*/
@@ -339,7 +339,7 @@ static const luaL_reg dblib[] = {
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); 341 lua_pushcfunction(L, errorfb);
342 lua_setfield(L, LUA_GLOBALSINDEX, "_TRACEBACK"); 342 lua_setglobal(L, "_TRACEBACK");
343 return 1; 343 return 1;
344} 344}
345 345