aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 9f170c6b..bf58d0a8 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.141 2002/12/04 17:38:31 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.142 2002/12/06 17:15:35 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*/
@@ -364,7 +364,7 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) {
364 break; 364 break;
365 } 365 }
366 case OP_TFORLOOP: 366 case OP_TFORLOOP:
367 checkreg(pt, a+2+c); 367 checkreg(pt, a+c+5);
368 if (reg >= a) last = pc; /* affect all registers above base */ 368 if (reg >= a) last = pc; /* affect all registers above base */
369 /* go through */ 369 /* go through */
370 case OP_FORLOOP: 370 case OP_FORLOOP: