MCPcopy Create free account
hub / github.com/defold/defold / explist1

Function explist1

engine/lua/src/lua/lparser.c:596–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594
595
596static int explist1 (LexState *ls, expdesc *v) {
597 /* explist1 -> expr { `,' expr } */
598 int n = 1; /* at least one expression */
599 expr(ls, v);
600 while (testnext(ls, ',')) {
601 luaK_exp2nextreg(ls->fs, v);
602 expr(ls, v);
603 n++;
604 }
605 return n;
606}
607
608
609static void funcargs (LexState *ls, expdesc *f) {

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