From 2a1da648722470998c52f5ac39d765e45acd3756 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 17 Jun 1997 15:09:31 -0300 Subject: "lua_getobjname" must return "tag-method" and not "fallback". --- table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'table.c') diff --git a/table.c b/table.c index b8b2ced7..1ca0b0ec 100644 --- a/table.c +++ b/table.c @@ -3,7 +3,7 @@ ** Module to control static tables */ -char *rcs_table="$Id: table.c,v 2.70 1997/05/26 14:42:51 roberto Exp roberto $"; +char *rcs_table="$Id: table.c,v 2.71 1997/06/09 17:28:14 roberto Exp roberto $"; #include "luamem.h" #include "auxlib.h" @@ -258,7 +258,7 @@ char *lua_getobjname (lua_Object o, char **name) { /* try to find a name for given function */ functofind = luaI_Address(o); if ((*name = luaI_travfallbacks(checkfunc)) != NULL) - return "fallback"; + return "tag-method"; else if ((*name = lua_travsymbol(checkfunc)) != NULL) return "global"; else return ""; -- cgit v1.2.3-55-g6feb