MCPcopy Create free account
hub / github.com/DFHack/dfhack / listfield

Function listfield

depends/lua/src/lparser.c:694–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692
693
694static void listfield (LexState *ls, struct ConsControl *cc) {
695 /* listfield -> exp */
696 expr(ls, &cc->v);
697 checklimit(ls->fs, cc->na, MAX_INT, "items in a constructor");
698 cc->na++;
699 cc->tostore++;
700}
701
702
703static void field (LexState *ls, struct ConsControl *cc) {

Callers 1

fieldFunction · 0.85

Calls 2

exprFunction · 0.85
checklimitFunction · 0.85

Tested by

no test coverage detected