summaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-17 16:49:15 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-17 16:49:15 -0300
commit67578ec51f1a3ec2c967f15d370067caf9e0b87b (patch)
treed77b292ddec33d7e6987bae808fa1db250ebd830 /ldebug.c
parentc2bb9abceceef125554595e23b7cc18ad3555c7c (diff)
downloadlua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.tar.gz
lua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.tar.bz2
lua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.zip
several small details
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 5604e543..09e04988 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 2.18 2005/05/16 18:45:15 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.19 2005/05/16 21:19:00 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -548,7 +548,7 @@ void luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
548 const char *kind = (isinstack(L->ci, o)) ? 548 const char *kind = (isinstack(L->ci, o)) ?
549 getobjname(L, L->ci, o - L->base, &name) : NULL; 549 getobjname(L, L->ci, o - L->base, &name) : NULL;
550 if (kind) 550 if (kind)
551 luaG_runerror(L, "attempt to %s %s " LUA_SM " (a %s value)", 551 luaG_runerror(L, "attempt to %s %s " LUA_QS " (a %s value)",
552 op, kind, name, t); 552 op, kind, name, t);
553 else 553 else
554 luaG_runerror(L, "attempt to %s a %s value", op, t); 554 luaG_runerror(L, "attempt to %s a %s value", op, t);