diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-04-17 01:47:15 -0400 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-04-17 01:47:15 -0400 |
| commit | cef296971465615132e9b0ff459d7e2eed9701e5 (patch) | |
| tree | 845c5281c54c157462c5cb10f2d3cd30e83a6a84 /tnslc/parse | |
| parent | ef32d7fe6adc1335b06848893c16088bb8e7cd47 (diff) | |
[tnslc] Extremely scuffed compile time globals
Diffstat (limited to 'tnslc/parse')
| -rw-r--r-- | tnslc/parse/ast.tnsl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tnslc/parse/ast.tnsl b/tnslc/parse/ast.tnsl index 24773f2..a9b48d7 100644 --- a/tnslc/parse/ast.tnsl +++ b/tnslc/parse/ast.tnsl @@ -1864,8 +1864,9 @@ int errors_shown = 0 return ;/ - - ~uint8 rel = utils.unquote_str(first`.data) + + utils.Vector relv = utils.unquote_str(first`.data) + ~uint8 rel = relv.as_cstr() utils.File imp = fin`.relative(rel) _delete(rel) @@ -1896,7 +1897,8 @@ int errors_shown = 0 ;/ Node an - an.init(NTYPE_ASM, utils.unquote_str(first`.data)) + utils.Vector asmv = utils.unquote_str(first`.data) + an.init(NTYPE_ASM, asmv.as_cstr()) mod`.add_child(~an) Token tmp = produce_next_token(fin, first`) |