aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldblib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldblib.c b/ldblib.c
index 7ac21a59..f3600445 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldblib.c,v 1.108 2008/01/18 17:14:47 roberto Exp roberto $ 2** $Id: ldblib.c,v 1.109 2008/01/21 13:37:08 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*/
@@ -315,7 +315,7 @@ static int db_debug (lua_State *L) {
315} 315}
316 316
317 317
318static int db_errorfb (lua_State *L) { 318static int db_traceback (lua_State *L) {
319 int arg; 319 int arg;
320 lua_State *L1 = getthread(L, &arg); 320 lua_State *L1 = getthread(L, &arg);
321 const char *msg = lua_tostring(L, arg + 1); 321 const char *msg = lua_tostring(L, arg + 1);
@@ -343,7 +343,7 @@ static const luaL_Reg dblib[] = {
343 {"setlocal", db_setlocal}, 343 {"setlocal", db_setlocal},
344 {"setmetatable", db_setmetatable}, 344 {"setmetatable", db_setmetatable},
345 {"setupvalue", db_setupvalue}, 345 {"setupvalue", db_setupvalue},
346 {"traceback", db_errorfb}, 346 {"traceback", db_traceback},
347 {NULL, NULL} 347 {NULL, NULL}
348}; 348};
349 349