Fix typo in warning message in parser

This commit is contained in:
Alexander Goussas
2023-03-24 15:37:17 -05:00
parent b974b3ccfd
commit 99d6c58971

View File

@@ -1411,7 +1411,7 @@ gb_internal Token expect_operator(AstFile *f) {
LIT(p));
}
if (f->curr_token.kind == Token_Ellipsis) {
syntax_warning(f->curr_token, "'..' for ranges has now be deprecated, prefer '..='");
syntax_warning(f->curr_token, "'..' for ranges has now been deprecated, prefer '..='");
f->tokens[f->curr_token_index].flags |= TokenFlag_Replace;
}