aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 468c2358..d42b161a 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.150 2003/03/19 21:24:04 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.151 2003/04/28 13:31:06 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*/
@@ -374,10 +374,11 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) {
374 break; 374 break;
375 } 375 }
376 case OP_TFORLOOP: 376 case OP_TFORLOOP:
377 checkreg(pt, a+c+5); 377 checkreg(pt, a+5);
378 if (reg >= a) last = pc; /* affect all registers above base */ 378 if (reg >= a) last = pc; /* affect all registers above base */
379 /* go through */ 379 /* go through */
380 case OP_FORLOOP: 380 case OP_FORLOOP:
381 case OP_FORPREP:
381 checkreg(pt, a+2); 382 checkreg(pt, a+2);
382 /* go through */ 383 /* go through */
383 case OP_JMP: { 384 case OP_JMP: {