diff options
| author | gingerBill <bill@gingerbill.org> | 2024-01-28 22:09:20 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-01-28 22:09:20 +0000 |
| commit | 395e0fb225816ff9699e82f6d9d5887ef3b1358a (patch) | |
| tree | 504128c32179f3e4edd1adc3c91adfbc6d2256be /src/parser.cpp | |
| parent | 9be9f0bb2c6761a424d9e151594c61af29163be7 (diff) | |
`-default-to-panic-allocator`
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 9ed3e32f9..489d6b5d5 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -5496,10 +5496,10 @@ gb_internal bool determine_path_from_string(BlockingMutex *file_mutex, Ast *node if (is_package_name_reserved(file_str)) { *path = file_str; - if (collection_name == "core") { + if (collection_name == "core" || collection_name == "base") { return true; } else { - syntax_error(node, "The package '%.*s' must be imported with the core library collection: 'core:%.*s'", LIT(file_str), LIT(file_str)); + syntax_error(node, "The package '%.*s' must be imported with the 'base' library collection: 'base:%.*s'", LIT(file_str), LIT(file_str)); return false; } } |