aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-08-31 02:45:17 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-08-31 02:45:17 +0200
commit7f3d8e115f389d9064905ff5aa8d359399dda20b (patch)
treeb7619653f312be1614c86c9f00c6fcb2bae00523
parent584e8859bfa33f0a617692d7b58b1a0fd234245d (diff)
remove comma
-rw-r--r--src/checker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 543763fc3..64c66c8a6 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -4953,7 +4953,7 @@ gb_internal void check_add_import_decl(CheckerContext *ctx, Ast *decl) {
ERROR_BLOCK();
if (id->import_name.string.len > 0) {
- error(token, "Import name, '%.*s' cannot be use as an import name as it is not a valid identifier", LIT(id->import_name.string));
+ error(token, "Import name '%.*s' cannot be use as an import name as it is not a valid identifier", LIT(id->import_name.string));
} else {
error(id->token, "Import name '%.*s' is not a valid identifier", LIT(invalid_name));
error_line("\tSuggestion: Rename the directory or explicitly set an import name like this 'import <new_name> %.*s'", LIT(id->relpath.string));