new names for debug types

This commit is contained in:
Roberto Ierusalimschy
2000-03-30 14:19:48 -03:00
parent e2c60eda16
commit 556a89e537
8 changed files with 49 additions and 49 deletions

View File

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