MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / statlist

Function statlist

extlibs/lua/src/lparser.c:780–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778
779
780static void statlist (LexState *ls) {
781 /* statlist -> { stat [';'] } */
782 while (!block_follow(ls, 1)) {
783 if (ls->t.token == TK_RETURN) {
784 statement(ls);
785 return; /* 'return' must be last statement */
786 }
787 statement(ls);
788 }
789}
790
791
792static 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