aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ldebug.c b/ldebug.c
index 323a5f7c..e69afafd 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.104 2002/03/22 16:54:31 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.105 2002/03/25 17:47:14 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*/
@@ -439,11 +439,13 @@ static const char *getobjname (lua_State *L, CallInfo *ci, int stackpos,
439 *name = kname(p, GETARG_C(i)); 439 *name = kname(p, GETARG_C(i));
440 return "global"; 440 return "global";
441 } 441 }
442 /* else go through */ 442 *name = kname(p, GETARG_C(i));
443 return "field";
444 break;
443 } 445 }
444 case OP_SELF: { 446 case OP_SELF: {
445 *name = kname(p, GETARG_C(i)); 447 *name = kname(p, GETARG_C(i));
446 return "field"; 448 return "method";
447 break; 449 break;
448 } 450 }
449 default: break; 451 default: break;