diff options
Diffstat (limited to 'ldebug.c')
| -rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.c,v 2.100 2014/07/30 14:00:14 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.101 2014/10/17 16:28:21 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 | */ |
| @@ -365,7 +365,7 @@ static int findsetreg (Proto *p, int lastpc, int reg) { | |||
| 365 | case OP_JMP: { | 365 | case OP_JMP: { |
| 366 | int b = GETARG_sBx(i); | 366 | int b = GETARG_sBx(i); |
| 367 | int dest = pc + 1 + b; | 367 | int dest = pc + 1 + b; |
| 368 | /* jump is forward and do not skip `lastpc'? */ | 368 | /* jump is forward and do not skip 'lastpc'? */ |
| 369 | if (pc < dest && dest <= lastpc) { | 369 | if (pc < dest && dest <= lastpc) { |
| 370 | if (dest > jmptarget) | 370 | if (dest > jmptarget) |
| 371 | jmptarget = dest; /* update 'jmptarget' */ | 371 | jmptarget = dest; /* update 'jmptarget' */ |
