MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / listfield

Function listfield

lua/lparser.c:521–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519
520
521static void listfield (LexState *ls, struct ConsControl *cc) {
522 expr(ls, &cc->v);
523 luaY_checklimit(ls->fs, cc->na, MAX_INT, "items in a constructor");
524 cc->na++;
525 cc->tostore++;
526}
527
528
529static void constructor (LexState *ls, expdesc *t) {

Callers 1

constructorFunction · 0.85

Calls 1

exprFunction · 0.85

Tested by

no test coverage detected