| 666 | |
| 667 | |
| 668 | static void closelistfield (FuncState *fs, struct ConsControl *cc) { |
| 669 | if (cc->v.k == VVOID) return; /* there is no list item */ |
| 670 | luaK_exp2nextreg(fs, &cc->v); |
| 671 | cc->v.k = VVOID; |
| 672 | if (cc->tostore == LFIELDS_PER_FLUSH) { |
| 673 | luaK_setlist(fs, cc->t->u.info, cc->na, cc->tostore); /* flush */ |
| 674 | cc->tostore = 0; /* no more items pending */ |
| 675 | } |
| 676 | } |
| 677 | |
| 678 | |
| 679 | static void lastlistfield (FuncState *fs, struct ConsControl *cc) { |
no test coverage detected