| 78 | |
| 79 | |
| 80 | static void fixjump (FuncState *fs, int pc, int dest) { |
| 81 | Instruction *jmp = &fs->f->code[pc]; |
| 82 | int offset = dest-(pc+1); |
| 83 | lua_assert(dest != NO_JUMP); |
| 84 | if (abs(offset) > MAXARG_sBx) |
| 85 | luaX_syntaxerror(fs->ls, "control structure too long"); |
| 86 | SETARG_sBx(*jmp, offset); |
| 87 | } |
| 88 | |
| 89 | |
| 90 | /* |
no test coverage detected