MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / explist1

Function explist1

Source/Misc/lua/src/lua.c:8172–8182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8170
8171
8172static int explist1 (LexState *ls, expdesc *v) {
8173/* explist1 -> expr { `,' expr } */
8174int n = 1; /* at least one expression */
8175expr(ls, v);
8176while (testnext(ls, ',')) {
8177luaK_exp2nextreg(ls->fs, v);
8178expr(ls, v);
8179n++;
8180}
8181return n;
8182}
8183
8184
8185static 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