summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iolib.c2
-rw-r--r--table.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/iolib.c b/iolib.c
index 43adfd6e..c5d40318 100644
--- a/iolib.c
+++ b/iolib.c
@@ -247,7 +247,7 @@ static void lua_printstack (FILE *f)
247 case 'g': 247 case 'g':
248 fprintf(f, "function %s", name); 248 fprintf(f, "function %s", name);
249 break; 249 break;
250 case 'f': 250 case 't':
251 fprintf(f, "`%s' tag method", name); 251 fprintf(f, "`%s' tag method", name);
252 break; 252 break;
253 default: { 253 default: {
diff --git a/table.c b/table.c
index b8b2ced7..1ca0b0ec 100644
--- a/table.c
+++ b/table.c
@@ -3,7 +3,7 @@
3** Module to control static tables 3** Module to control static tables
4*/ 4*/
5 5
6char *rcs_table="$Id: table.c,v 2.70 1997/05/26 14:42:51 roberto Exp roberto $"; 6char *rcs_table="$Id: table.c,v 2.71 1997/06/09 17:28:14 roberto Exp roberto $";
7 7
8#include "luamem.h" 8#include "luamem.h"
9#include "auxlib.h" 9#include "auxlib.h"
@@ -258,7 +258,7 @@ char *lua_getobjname (lua_Object o, char **name)
258{ /* try to find a name for given function */ 258{ /* try to find a name for given function */
259 functofind = luaI_Address(o); 259 functofind = luaI_Address(o);
260 if ((*name = luaI_travfallbacks(checkfunc)) != NULL) 260 if ((*name = luaI_travfallbacks(checkfunc)) != NULL)
261 return "fallback"; 261 return "tag-method";
262 else if ((*name = lua_travsymbol(checkfunc)) != NULL) 262 else if ((*name = lua_travsymbol(checkfunc)) != NULL)
263 return "global"; 263 return "global";
264 else return ""; 264 else return "";