pub fn parsebyte_order_mark(p: *Parser) Error!bool p: *ParserMaxDepth3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085 pub fn parsebyte_order_mark(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defbyte_order_mark);
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 (blk_1: {
if (std.mem.startsWith(u8, p.source[p.i..], "")) {
p.i += 3;
break :blk_1 true;
}
break :blk_1 false;
}) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}