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

Function explist

depends/lua/src/lparser.c:805–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803
804
805static int explist (LexState *ls, expdesc *v) {
806 /* explist -> expr { ',' expr } */
807 int n = 1; /* at least one expression */
808 expr(ls, v);
809 while (testnext(ls, ',')) {
810 luaK_exp2nextreg(ls->fs, v);
811 expr(ls, v);
812 n++;
813 }
814 return n;
815}
816
817
818static void funcargs (LexState *ls, expdesc *f, int line) {

Callers 5

funcargsFunction · 0.85
assignmentFunction · 0.85
forlistFunction · 0.85
localstatFunction · 0.85
retstatFunction · 0.85

Calls 3

exprFunction · 0.85
testnextFunction · 0.85
luaK_exp2nextregFunction · 0.85

Tested by

no test coverage detected