pub fn parseExpr(p: *Parser) Error!bool p: *ParserMaxDepth960
961
962
963
964
965
966
967
968
969
970
971 pub fn parseExpr(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defExpr);
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.parseBoolOrExpr()) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}