MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / statlist

Function statlist

3rd/lua-5.4.3/src/lparser.c:787–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785
786
787static void statlist (LexState *ls) {
788 /* statlist -> { stat [';'] } */
789 while (!block_follow(ls, 1)) {
790 if (ls->t.token == TK_RETURN) {
791 statement(ls);
792 return; /* 'return' must be last statement */
793 }
794 statement(ls);
795 }
796}
797
798
799static 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