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.71 2010/06/16 13:44:36 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.72 2010/06/21 16:30:12 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 | */ |
@@ -315,7 +315,7 @@ static const char *getobjname (lua_State *L, CallInfo *ci, int reg, | |||
315 | ? luaF_getlocalname(p, t + 1, pc) | 315 | ? luaF_getlocalname(p, t + 1, pc) |
316 | : getstr(p->upvalues[t].name); | 316 | : getstr(p->upvalues[t].name); |
317 | kname(p, k, a, what, name); | 317 | kname(p, k, a, what, name); |
318 | what = (vn && strcmp(vn, "_ENV") == 0) ? "global" : "field"; | 318 | what = (vn && strcmp(vn, LUA_ENV) == 0) ? "global" : "field"; |
319 | } | 319 | } |
320 | break; | 320 | break; |
321 | } | 321 | } |