| 675 | |
| 676 | |
| 677 | static void closelistfield (FuncState *fs, struct ConsControl *cc) { |
| 678 | if (cc->v.k == VVOID) return; /* there is no list item */ |
| 679 | luaK_exp2nextreg(fs, &cc->v); |
| 680 | cc->v.k = VVOID; |
| 681 | if (cc->tostore == LFIELDS_PER_FLUSH) { |
| 682 | luaK_setlist(fs, cc->t->u.info, cc->na, cc->tostore); /* flush */ |
| 683 | cc->tostore = 0; /* no more items pending */ |
| 684 | } |
| 685 | } |
| 686 | |
| 687 | |
| 688 | static void lastlistfield (FuncState *fs, struct ConsControl *cc) { |
no test coverage detected