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

Function statlist

third-party/lua-5.2.4/src/lparser.c:604–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602
603
604static void statlist (LexState *ls) {
605 /* statlist -> { stat [`;'] } */
606 while (!block_follow(ls, 1)) {
607 if (ls->t.token == TK_RETURN) {
608 statement(ls);
609 return; /* 'return' must be last statement */
610 }
611 statement(ls);
612 }
613}
614
615
616static 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