| 95 | |
| 96 | |
| 97 | static void fixjump (FuncState *fs, int pc, int dest) { |
| 98 | Instruction *jmp = &fs->f->code[pc]; |
| 99 | int offset = dest-(pc+1); |
| 100 | lua_assert(dest != NO_JUMP); |
| 101 | if (abs(offset) > MAXARG_sBx) |
| 102 | luaX_syntaxerror(fs->ls, "control structure too long"); |
| 103 | SETARG_sBx(*jmp, offset); |
| 104 | } |
| 105 | |
| 106 | |
| 107 | /* |
no test coverage detected