Changed some recently added //+ usages to #+ and also fixed some //+ usages in some code generators.
This commit is contained in:
1 parent
093ade0504
commit
29fedc1808
8 files changed
+8
-8
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user