diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2023-03-24 21:38:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-24 21:38:48 +0100 |
| commit | 9ada48054fa3dfe01665189f92f7bbc16ff1aaeb (patch) | |
| tree | 280d39a3bfe1a43743aab4e0c89ac9b3f734cbed /src/parser.cpp | |
| parent | b974b3ccfd2651ba63e63e250a3c0b64395d358e (diff) | |
| parent | 99d6c58971e1bbd1ca119e40731c4ca182eebc6c (diff) | |
Merge pull request #2406 from aloussase/master
Fix typo in warning message in parser
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 07afc56d6..86f955254 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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; } |