| 194 | |
| 195 | |
| 196 | void luaK_concat (FuncState *fs, int *l1, int l2) { |
| 197 | if (l2 == NO_JUMP) return; |
| 198 | else if (*l1 == NO_JUMP) |
| 199 | *l1 = l2; |
| 200 | else { |
| 201 | int list = *l1; |
| 202 | int next; |
| 203 | while ((next = getjump(fs, list)) != NO_JUMP) /* find last element */ |
| 204 | list = next; |
| 205 | fixjump(fs, list, l2); |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | |
| 210 | static int luaK_code (FuncState *fs, Instruction i) { |