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

Function statlist

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

Source from the content-addressed store, hash-verified

596
597
598static void statlist (LexState *ls) {
599 /* statlist -> { stat [';'] } */
600 while (!block_follow(ls, 1)) {
601 if (ls->t.token == TK_RETURN) {
602 statement(ls);
603 return; /* 'return' must be last statement */
604 }
605 statement(ls);
606 }
607}
608
609
610static void fieldsel (LexState *ls, expdesc *v) {

Callers 5

bodyFunction · 0.85
blockFunction · 0.85
repeatstatFunction · 0.85
test_then_blockFunction · 0.85
mainfuncFunction · 0.85

Calls 2

block_followFunction · 0.85
statementFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68