MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / explist

Function explist

libraries/AP_Scripting/lua/src/lparser.c:804–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802
803
804static int explist (LexState *ls, expdesc *v) {
805 /* explist -> expr { ',' expr } */
806 int n = 1; /* at least one expression */
807 expr(ls, v);
808 while (testnext(ls, ',')) {
809 luaK_exp2nextreg(ls->fs, v);
810 expr(ls, v);
811 n++;
812 }
813 return n;
814}
815
816
817static void funcargs (LexState *ls, expdesc *f, int line) {

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