diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-15 15:28:48 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-15 15:28:48 -0300 |
| commit | 44eb7d91ac24db572a50ccca388a401cbdfd6fe0 (patch) | |
| tree | 2f304e0359fa5588279406ea056aa47f0d5f563e /ldebug.c | |
| parent | ddc8d94a087f9c0ef758dc26540a5f5ac486e19d (diff) | |
| download | lua-44eb7d91ac24db572a50ccca388a401cbdfd6fe0.tar.gz lua-44eb7d91ac24db572a50ccca388a401cbdfd6fe0.tar.bz2 lua-44eb7d91ac24db572a50ccca388a401cbdfd6fe0.zip | |
comments
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 | } |
