diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 1.34 2000/08/14 17:46:27 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.35 2000/08/14 17:59:20 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 | */ |
@@ -391,7 +391,7 @@ static const char *getobjname (lua_State *L, StkId obj, const char **name) { | |||
391 | return "field"; | 391 | return "field"; |
392 | } | 392 | } |
393 | default: | 393 | default: |
394 | return NULL; /* no usefull name found */ | 394 | return NULL; /* no useful name found */ |
395 | } | 395 | } |
396 | } | 396 | } |
397 | } | 397 | } |
@@ -408,7 +408,7 @@ static const char *getfuncname (lua_State *L, StkId f, const char **name) { | |||
408 | case OP_CALL: case OP_TAILCALL: | 408 | case OP_CALL: case OP_TAILCALL: |
409 | return getobjname(L, (func+1)+GETARG_A(i), name); | 409 | return getobjname(L, (func+1)+GETARG_A(i), name); |
410 | default: | 410 | default: |
411 | return NULL; /* no usefull name found */ | 411 | return NULL; /* no useful name found */ |
412 | } | 412 | } |
413 | } | 413 | } |
414 | } | 414 | } |