| 3747 | |
| 3748 | |
| 3749 | static void fixjump (FuncState *fs, int pc, int dest) { |
| 3750 | Instruction *jmp = &fs->f->code[pc]; |
| 3751 | int offset = dest-(pc+1); |
| 3752 | lua_assert(dest != NO_JUMP); |
| 3753 | if (abs(offset) > MAXARG_sBx) |
| 3754 | luaX_syntaxerror(fs->ls, "control structure too long"); |
| 3755 | SETARG_sBx(*jmp, offset); |
| 3756 | } |
| 3757 | |
| 3758 | |
| 3759 | /* |
no test coverage detected