several small details

This commit is contained in:
Roberto Ierusalimschy
2005-05-17 16:49:15 -03:00
parent c2bb9abcec
commit 67578ec51f
20 changed files with 152 additions and 137 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.c,v 2.18 2005/05/16 18:45:15 roberto Exp roberto $
** $Id: ldebug.c,v 2.19 2005/05/16 21:19:00 roberto Exp roberto $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -548,7 +548,7 @@ void luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
const char *kind = (isinstack(L->ci, o)) ?
getobjname(L, L->ci, o - L->base, &name) : NULL;
if (kind)
luaG_runerror(L, "attempt to %s %s " LUA_SM " (a %s value)",
luaG_runerror(L, "attempt to %s %s " LUA_QS " (a %s value)",
op, kind, name, t);
else
luaG_runerror(L, "attempt to %s a %s value", op, t);