lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 0fa9b16148d5db21875d770299d8bd983063ac7a
parent e41fb9a60478d8598a93c235760621bf6468c2df
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Thu,  6 Oct 2005 17:43:22 -0300

details

Diffstat:
Mldebug.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ldebug.c b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.25 2005/07/11 13:59:03 roberto Exp roberto $ +** $Id: ldebug.c,v 2.26 2005/08/04 13:37:38 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -321,7 +321,7 @@ static Instruction symbexec (const Proto *pt, int lastpc, int reg) { last = pt->sizecode-1; /* points to final return (a `neutral' instruction) */ check(precheck(pt)); for (pc = 0; pc < lastpc; pc++) { - const Instruction i = pt->code[pc]; + Instruction i = pt->code[pc]; OpCode op = GET_OPCODE(i); int a = GETARG_A(i); int b = 0; @@ -348,7 +348,7 @@ static Instruction symbexec (const Proto *pt, int lastpc, int reg) { check(0 <= dest && dest < pt->sizecode); if (dest > 0) { /* cannot jump to a setlist count */ - const Instruction d = pt->code[dest-1]; + Instruction d = pt->code[dest-1]; check(!(GET_OPCODE(d) == OP_SETLIST && GETARG_C(d) == 0)); } }