| 183 | |
| 184 | |
| 185 | void luaK_concat (FuncState *fs, int *l1, int l2) { |
| 186 | if (l2 == NO_JUMP) return; |
| 187 | else if (*l1 == NO_JUMP) |
| 188 | *l1 = l2; |
| 189 | else { |
| 190 | int list = *l1; |
| 191 | int next; |
| 192 | while ((next = getjump(fs, list)) != NO_JUMP) /* find last element */ |
| 193 | list = next; |
| 194 | fixjump(fs, list, l2); |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | |
| 199 | void luaK_checkstack (FuncState *fs, int n) { |
no test coverage detected