This commit is contained in:
Roberto Ierusalimschy
2007-03-26 15:35:34 -03:00
parent df50c84ee0
commit 97505caa64

View File

@@ -1,5 +1,5 @@
/* /*
** $Id: ldebug.c,v 2.33 2006/09/19 13:57:50 roberto Exp roberto $ ** $Id: ldebug.c,v 2.34 2006/11/22 11:43:47 roberto Exp roberto $
** Debug Interface ** Debug Interface
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@@ -539,8 +539,7 @@ static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name) {
if (GET_OPCODE(i) == OP_CALL || GET_OPCODE(i) == OP_TAILCALL || if (GET_OPCODE(i) == OP_CALL || GET_OPCODE(i) == OP_TAILCALL ||
GET_OPCODE(i) == OP_TFORLOOP) GET_OPCODE(i) == OP_TFORLOOP)
return getobjname(L, ci, GETARG_A(i), name); return getobjname(L, ci, GETARG_A(i), name);
else return NULL; /* else no useful name can be found */
return NULL; /* no useful name can be found */
} }