MCPcopy Create free account
hub / github.com/F-Stack/f-stack / explist1

Function explist1

app/redis-6.2.6/deps/lua/src/lparser.c:600–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598
599
600static int explist1 (LexState *ls, expdesc *v) {
601 /* explist1 -> expr { `,' expr } */
602 int n = 1; /* at least one expression */
603 expr(ls, v);
604 while (testnext(ls, ',')) {
605 luaK_exp2nextreg(ls->fs, v);
606 expr(ls, v);
607 n++;
608 }
609 return n;
610}
611
612
613static 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.70
testnextFunction · 0.70
luaK_exp2nextregFunction · 0.70

Tested by

no test coverage detected