Changed some recently added //+ usages to #+ and also fixed some //+ usages in some code generators.

This commit is contained in:
Karl Zylinski
2024-09-17 19:39:48 +02:00
parent 093ade0504
commit 29fedc1808
8 changed files with 8 additions and 8 deletions

View File

@@ -4967,7 +4967,7 @@ gb_internal Ast *parse_import_decl(AstFile *f, ImportDeclKind kind) {
}
if (f->in_when_statement) {
syntax_error(import_name, "Cannot use 'import' within a 'when' statement. Prefer using the file suffixes (e.g. foo_windows.odin) or '//+build' tags");
syntax_error(import_name, "Cannot use 'import' within a 'when' statement. Prefer using the file suffixes (e.g. foo_windows.odin) or '#+build' tags");
}
if (kind != ImportDecl_Standard) {