summaryrefslogtreecommitdiff
path: root/src/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldebug.c')
-rw-r--r--src/ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldebug.c b/src/ldebug.c
index 3321d9f1..cf7d7ca6 100644
--- a/src/ldebug.c
+++ b/src/ldebug.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldebug.c,v 2.100 2014/07/30 14:00:14 roberto Exp $
+** $Id: ldebug.c,v 2.101 2014/10/17 16:28:21 roberto Exp $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -515,7 +515,7 @@ static const char *varinfo (lua_State *L, const TValue *o) {
kind = getobjname(ci_func(ci)->p, currentpc(ci),
cast_int(o - ci->u.l.base), &name);
}
- return (kind) ? luaO_pushfstring(L, " (%s " LUA_QS ")", kind, name) : "";
+ return (kind) ? luaO_pushfstring(L, " (%s '%s')", kind, name) : "";
}