diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2025-12-30 23:16:01 -0500 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2025-12-30 23:16:01 -0500 |
| commit | aef2a1e4fae812220b29ec939be239cee5225b1a (patch) | |
| tree | 7464ef01fb4957b8a4e726ea2072ce57ec677077 /tnslc/parse | |
| parent | 3a98cbd4d96041e78cb8748d674e9d5ea311054e (diff) | |
finding parent scopes
Diffstat (limited to 'tnslc/parse')
| -rw-r--r-- | tnslc/parse/ast.tnsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/parse/ast.tnsl b/tnslc/parse/ast.tnsl index e38c413..f9ad1f9 100644 --- a/tnslc/parse/ast.tnsl +++ b/tnslc/parse/ast.tnsl @@ -2096,7 +2096,7 @@ int errors_shown = 0 ;; else if (first._type == TTYPE_KEYTP || first._type == TTYPE_USRWD || first.eq("~\0") == true || first.eq("{\0") == true) _ast_decl(fin, mod, ~first) ;; else - _ast_print_err(fin, ~first, "Expected 'import', 'struct', 'asm', block, or declaration in top level\0") + _ast_print_err(fin, ~first, "Expected 'import', 'struct', 'asm', block (starts with '/;'), or type (for variable declaration) in top level\0") Token tmp = produce_next_token(fin, first) first.end() |