MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / explist

Function explist

third-party/lua-5.5.0/src/lparser.c:1125–1135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1123
1124
1125static int explist (LexState *ls, expdesc *v) {
1126 /* explist -> expr { ',' expr } */
1127 int n = 1; /* at least one expression */
1128 expr(ls, v);
1129 while (testnext(ls, ',')) {
1130 luaK_exp2nextreg(ls->fs, v);
1131 expr(ls, v);
1132 n++;
1133 }
1134 return n;
1135}
1136
1137
1138static void funcargs (LexState *ls, expdesc *f) {

Callers 6

funcargsFunction · 0.70
restassignFunction · 0.70
forlistFunction · 0.70
localstatFunction · 0.70
initglobalFunction · 0.70
retstatFunction · 0.70

Calls 3

exprFunction · 0.70
testnextFunction · 0.70
luaK_exp2nextregFunction · 0.70

Tested by

no test coverage detected