| 8038 | |
| 8039 | |
| 8040 | static void closelistfield (FuncState *fs, struct ConsControl *cc) { |
| 8041 | if (cc->v.k == VVOID) return; /* there is no list item */ |
| 8042 | luaK_exp2nextreg(fs, &cc->v); |
| 8043 | cc->v.k = VVOID; |
| 8044 | if (cc->tostore == LFIELDS_PER_FLUSH) { |
| 8045 | luaK_setlist(fs, cc->t->u.s.info, cc->na, cc->tostore); /* flush */ |
| 8046 | cc->tostore = 0; /* no more items pending */ |
| 8047 | } |
| 8048 | } |
| 8049 | |
| 8050 | |
| 8051 | static void lastlistfield (FuncState *fs, struct ConsControl *cc) { |
no test coverage detected