diff options
| author | Karl Zylinski <karl@zylinski.se> | 2024-09-17 19:39:48 +0200 |
|---|---|---|
| committer | Karl Zylinski <karl@zylinski.se> | 2024-09-17 19:39:48 +0200 |
| commit | 29fedc1808c347774971666ecc90b44e1900dc90 (patch) | |
| tree | 2a0f17b2e330b52d004d85f3a68266afee755e15 /src/parser.cpp | |
| parent | 093ade050445b3e348177e30fb1fc9d726f7b289 (diff) | |
Changed some recently added //+ usages to #+ and also fixed some //+ usages in some code generators.
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 242671af0..520a23c5a 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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) { |