MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / listfield

Function listfield

third-party/lua-5.1.5/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.70

Calls 2

luaY_checklimitFunction · 0.85
exprFunction · 0.70

Tested by

no test coverage detected