void fixjump(int pc, int dest) {
InstructionPtr jmp = new InstructionPtr(this.f.code, pc);
int offset = dest - (pc + 1);
_assert(dest != LexState.NO_JUMP);
if (Math.abs(offset) > MAXARG_sBx) {
<BUG>ls.syntaxerror("control structure too long");
</BUG>
}
SETARG_sBx(jmp, offset);
}

void fixjump(int pc, int dest) {
InstructionPtr jmp = new InstructionPtr(this.f.code, pc);
int offset = dest - (pc + 1);
_assert(dest != LexState.NO_JUMP);
if (Math.abs(offset) > MAXARG_sBx) {
throw ls.syntaxerror("control structure too long");
}
SETARG_sBx(jmp, offset);
}
