| 693 | |
| 694 | |
| 695 | static void closelistfield(FuncState *fs, struct ConsControl *cc) { |
| 696 | if (cc->v.k == VVOID) return; /* there is no list item */ |
| 697 | luaK_exp2nextreg(fs, &cc->v); |
| 698 | cc->v.k = VVOID; |
| 699 | if (cc->tostore == LFIELDS_PER_FLUSH) { |
| 700 | luaK_setlist(fs, cc->t->u.info, cc->na, cc->tostore); /* flush */ |
| 701 | cc->tostore = 0; /* no more items pending */ |
| 702 | } |
| 703 | } |
| 704 | |
| 705 | |
| 706 | static void lastlistfield(FuncState *fs, struct ConsControl *cc) { |
no test coverage detected