pub fn parseExprList(p: *Parser) Error!bool p: *ParserMaxDepth3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055 pub fn parseExprList(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defExprList);
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.parseExpr() and (blk_3: {
const pos_3 = p.i;
if (try p.parseCOMMA() and try p.parseExprList()) break :blk_3 true;
p.i = pos_3;
break :blk_3 false;
} or true)) break :blk_0 true;
p.i = pos_0;
if (blk_1: {
const pos_1 = p.i;
const match_1 = try p.parseExprPrefix();
p.i = pos_1;
break :blk_1 !match_1;
}) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}