MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / explist1

Function explist1

lua/lparser.c:630–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628
629
630static int explist1 (LexState *ls, expdesc *v) {
631 /* explist1 -> expr { `,' expr } */
632 int n = 1; /* at least one expression */
633 expr(ls, v);
634 while (testnext(ls, ',')) {
635 luaK_exp2nextreg(ls->fs, v);
636 expr(ls, v);
637 n++;
638 }
639 return n;
640}
641
642
643static 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