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