MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / listfield

Function listfield

deps/lua/src/lparser.c:490–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488
489
490static void listfield (LexState *ls, struct ConsControl *cc) {
491 expr(ls, &cc->v);
492 luaY_checklimit(ls->fs, cc->na, MAX_INT, "items in a constructor");
493 cc->na++;
494 cc->tostore++;
495}
496
497
498static void constructor (LexState *ls, expdesc *t) {

Callers 1

constructorFunction · 0.85

Calls 1

exprFunction · 0.85

Tested by

no test coverage detected