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

Function statlist

xrepo/packages/l/lua/port/lua/src/lparser.c:798–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796
797
798static void statlist (LexState *ls) {
799 /* statlist -> { stat [';'] } */
800 while (!block_follow(ls, 1)) {
801 if (ls->t.token == TK_RETURN) {
802 statement(ls);
803 return; /* 'return' must be last statement */
804 }
805 statement(ls);
806 }
807}
808
809
810static 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