MCPcopy Create free account
hub / github.com/F-Stack/f-stack / block

Function block

app/redis-6.2.6/deps/lua/src/lparser.c:885–893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883
884
885static void block (LexState *ls) {
886 /* block -> chunk */
887 FuncState *fs = ls->fs;
888 BlockCnt bl;
889 enterblock(fs, &bl, 0);
890 chunk(ls);
891 lua_assert(bl.breaklist == NO_JUMP);
892 leaveblock(fs);
893}
894
895
896/*

Callers 5

whilestatFunction · 0.70
forbodyFunction · 0.70
test_then_blockFunction · 0.70
ifstatFunction · 0.70
statementFunction · 0.70

Calls 3

chunkFunction · 0.85
enterblockFunction · 0.70
leaveblockFunction · 0.70

Tested by 1

test_then_blockFunction · 0.56