diff options
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 1.59 2000/03/20 19:13:45 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 1.60 2000/03/22 16:24:13 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -536,7 +536,7 @@ static void io_debug (lua_State *L) { | |||
536 | static void errorfb (lua_State *L) { | 536 | static void errorfb (lua_State *L) { |
537 | char buff[MAXMESSAGE]; | 537 | char buff[MAXMESSAGE]; |
538 | int level = 1; /* skip level 0 (it's this function) */ | 538 | int level = 1; /* skip level 0 (it's this function) */ |
539 | lua_Dbgactreg ar; | 539 | lua_Debug ar; |
540 | lua_Object alertfunc = lua_rawgetglobal(L, "_ALERT"); | 540 | lua_Object alertfunc = lua_rawgetglobal(L, "_ALERT"); |
541 | sprintf(buff, "error: %.200s\n", lua_getstring(L, lua_getparam(L, 1))); | 541 | sprintf(buff, "error: %.200s\n", lua_getstring(L, lua_getparam(L, 1))); |
542 | while (lua_getstack(L, level++, &ar)) { | 542 | while (lua_getstack(L, level++, &ar)) { |