MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / explist

Function explist

lua/src/lparser.c:1011–1021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009
1010
1011static int explist (LexState *ls, expdesc *v) {
1012 /* explist -> expr { ',' expr } */
1013 int n = 1; /* at least one expression */
1014 expr(ls, v);
1015 while (testnext(ls, ',')) {
1016 luaK_exp2nextreg(ls->fs, v);
1017 expr(ls, v);
1018 n++;
1019 }
1020 return n;
1021}
1022
1023
1024static void funcargs (LexState *ls, expdesc *f, int line) {

Callers 5

funcargsFunction · 0.85
restassignFunction · 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