Browse Source

Merge pull request #2406 from aloussase/master

Fix typo in warning message in parser
Jeroen van Rijn 2 years ago
parent
commit
9ada48054f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/parser.cpp

+ 1 - 1
src/parser.cpp

@@ -1411,7 +1411,7 @@ gb_internal Token expect_operator(AstFile *f) {
 		             LIT(p));
 		             LIT(p));
 	}
 	}
 	if (f->curr_token.kind == Token_Ellipsis) {
 	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;
 		f->tokens[f->curr_token_index].flags |= TokenFlag_Replace;
 	}
 	}