MCPcopy Create free account
hub / github.com/DFHack/dfhack / statlist

Function statlist

depends/lua/src/lparser.c:599–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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