diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 14:19:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 14:19:48 -0300 |
commit | 556a89e53751135f45d8dd1e84651461b67e1f81 (patch) | |
tree | 85c4d8486d53e534100c4b8c9ab30c6990585496 /liolib.c | |
parent | e2c60eda16d4aff7ea42513ba7c4d33ac45d9e99 (diff) | |
download | lua-556a89e53751135f45d8dd1e84651461b67e1f81.tar.gz lua-556a89e53751135f45d8dd1e84651461b67e1f81.tar.bz2 lua-556a89e53751135f45d8dd1e84651461b67e1f81.zip |
new names for debug types
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)) { |