pub fn parseLoopStatement(p: *Parser) Error!bool p: *ParserMaxDepth715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733 pub fn parseLoopStatement(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defLoopStatement);
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.parseKEYWORD_inline() or true) and blk_2: {
const pos_2 = p.i;
if (try p.parseForStatement()) break :blk_2 true;
p.i = pos_2;
if (try p.parseWhileStatement()) break :blk_2 true;
p.i = pos_2;
break :blk_2 false;
}) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}