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

Function statlist

third-party/lua-5.3.5/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.70
blockFunction · 0.70
repeatstatFunction · 0.70
test_then_blockFunction · 0.70
mainfuncFunction · 0.70

Calls 2

block_followFunction · 0.70
statementFunction · 0.70

Tested by 1

test_then_blockFunction · 0.56