MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / statlist

Function statlist

src/Chain/libraries/glua/lparser.cpp:617–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615
616
617static void statlist(LexState *ls) {
618 /* statlist -> { stat [';'] } */
619 while (!block_follow(ls, 1)) {
620 if (ls->t.token == TK_RETURN) {
621 statement(ls);
622 return; /* 'return' must be last statement */
623 }
624 statement(ls);
625 if (ls->L->force_stopping)
626 break;
627 }
628 if (ls->L->force_stopping)
629 {
630 if (nullptr == ls->L->compile_error)
631 {
632 lua_set_compile_error(ls->L, "forced stoppping in compile");
633 }
634 }
635}
636
637
638static 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 3

block_followFunction · 0.85
statementFunction · 0.85
lua_set_compile_errorFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68