diff options
-rw-r--r-- | ldebug.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.33 2006/09/19 13:57:50 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.34 2006/11/22 11:43:47 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 | */ |
@@ -539,8 +539,7 @@ static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name) { | |||
539 | if (GET_OPCODE(i) == OP_CALL || GET_OPCODE(i) == OP_TAILCALL || | 539 | if (GET_OPCODE(i) == OP_CALL || GET_OPCODE(i) == OP_TAILCALL || |
540 | GET_OPCODE(i) == OP_TFORLOOP) | 540 | GET_OPCODE(i) == OP_TFORLOOP) |
541 | return getobjname(L, ci, GETARG_A(i), name); | 541 | return getobjname(L, ci, GETARG_A(i), name); |
542 | else | 542 | return NULL; /* else no useful name can be found */ |
543 | return NULL; /* no useful name can be found */ | ||
544 | } | 543 | } |
545 | 544 | ||
546 | 545 | ||