MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / block

Function block

lua/lparser.c:927–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925
926
927static void block (LexState *ls) {
928 /* block -> chunk */
929 FuncState *fs = ls->fs;
930 BlockCnt bl;
931 enterblock(fs, &bl, 0);
932 chunk(ls);
933 lua_assert(bl.breaklist == NO_JUMP);
934 leaveblock(fs);
935}
936
937
938/*

Callers 5

whilestatFunction · 0.85
forbodyFunction · 0.85
test_then_blockFunction · 0.85
ifstatFunction · 0.85
statementFunction · 0.85

Calls 3

enterblockFunction · 0.85
chunkFunction · 0.85
leaveblockFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68