| 213 | |
| 214 | |
| 215 | void luaK_concat (FuncState *fs, int *l1, int l2) { |
| 216 | if (l2 == NO_JUMP) return; |
| 217 | else if (*l1 == NO_JUMP) |
| 218 | *l1 = l2; |
| 219 | else { |
| 220 | int list = *l1; |
| 221 | int next; |
| 222 | while ((next = getjump(fs, list)) != NO_JUMP) /* find last element */ |
| 223 | list = next; |
| 224 | fixjump(fs, list, l2); |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | |
| 229 | static int luaK_code (FuncState *fs, Instruction i) { |