Skip to content

Commit

Permalink
Whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
N00byEdge committed Oct 8, 2023
1 parent 6bcd56a commit 22d1faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfhost/parser.n
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ fn parse_container_body(context: *ParserContext, is_enum: bool) u32 {
if(p == .identifier) {
const ident = context.advance();
if(!is_enum) {
context.expect("Expected ':' after field identifier", .@":");
context.expect("Expected ':' after field identifier".&, .@":");
parse_expression_with_precedence(context, true, 0);
}
const decl = add_with_token(ident, .field_declaration);
Expand Down

0 comments on commit 22d1faf

Please sign in to comment.