diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.99 2014/07/17 12:30:53 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.100 2014/07/30 14:00:14 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 | */ |
@@ -515,7 +515,7 @@ static const char *varinfo (lua_State *L, const TValue *o) { | |||
515 | kind = getobjname(ci_func(ci)->p, currentpc(ci), | 515 | kind = getobjname(ci_func(ci)->p, currentpc(ci), |
516 | cast_int(o - ci->u.l.base), &name); | 516 | cast_int(o - ci->u.l.base), &name); |
517 | } | 517 | } |
518 | return (kind) ? luaO_pushfstring(L, " (%s " LUA_QS ")", kind, name) : ""; | 518 | return (kind) ? luaO_pushfstring(L, " (%s '%s')", kind, name) : ""; |
519 | } | 519 | } |
520 | 520 | ||
521 | 521 | ||