MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / block

Function block

Source/Misc/lua/src/lua.c:8457–8465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8455
8456
8457static void block (LexState *ls) {
8458/* block -> chunk */
8459FuncState *fs = ls->fs;
8460BlockCnt bl;
8461enterblock(fs, &bl, 0);
8462chunk(ls);
8463lua_assert(bl.breaklist == NO_JUMP);
8464leaveblock(fs);
8465}
8466
8467
8468/*

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