add workaround for #5599
This commit is contained in:
parent
09cded209d
commit
e7207bc267
@ -1911,7 +1911,7 @@ const Parser = struct {
|
|||||||
/// BreakLabel <- COLON IDENTIFIER
|
/// BreakLabel <- COLON IDENTIFIER
|
||||||
fn parseBreakLabel(p: *Parser) !?*Node {
|
fn parseBreakLabel(p: *Parser) !?*Node {
|
||||||
_ = p.eatToken(.Colon) orelse return null;
|
_ = p.eatToken(.Colon) orelse return null;
|
||||||
return p.expectNode(parseIdentifier, .{
|
return try p.expectNode(parseIdentifier, .{
|
||||||
.ExpectedIdentifier = .{ .token = p.tok_i },
|
.ExpectedIdentifier = .{ .token = p.tok_i },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user