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 2.78 2011/04/18 15:02:37 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.79 2011/04/18 19:49:13 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 | */ |
@@ -355,8 +355,8 @@ static const char *getobjname (lua_State *L, CallInfo *ci, int reg, | |||
355 | break; | 355 | break; |
356 | } | 356 | } |
357 | case OP_LOADNIL: { | 357 | case OP_LOADNIL: { |
358 | int b = GETARG_B(i); /* move from 'b' to 'a' */ | 358 | int b = GETARG_B(i); |
359 | if (a <= reg && reg <= b) /* set registers from 'a' to 'b' */ | 359 | if (a <= reg && reg <= a + b) /* set registers from 'a' to 'a+b' */ |
360 | what = NULL; | 360 | what = NULL; |
361 | break; | 361 | break; |
362 | } | 362 | } |