pub fn parseBlockLabel(p: *Parser) Error!bool p: *ParserMaxDepth1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807 pub fn parseBlockLabel(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defBlockLabel);
if (p.depths[def_index] > max_depth) return error.MaxDepth;
p.depths[def_index] += 1;
defer p.depths[def_index] -= 1;
return blk_0: {
const pos_0 = p.i;
if (try p.parseIDENTIFIER() and try p.parseCOLON()) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}