diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-31 10:18:13 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-31 10:18:13 -0400 |
commit | 4a15d64a65cca37a708af4f954415b5c205a9655 (patch) | |
tree | bef833da928309e489325389bf7d485500cf49b5 /tnslc/compile/error.tnsl | |
parent | acc33ffeb8f5eae5e6bb805f1cb409841f0aad75 (diff) |
better tokens
Diffstat (limited to 'tnslc/compile/error.tnsl')
-rw-r--r-- | tnslc/compile/error.tnsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tnslc/compile/error.tnsl b/tnslc/compile/error.tnsl index 7857075..255aec1 100644 --- a/tnslc/compile/error.tnsl +++ b/tnslc/compile/error.tnsl @@ -5,6 +5,7 @@ /; report_error (utils.File file, Token token, ~uint8 message) ~uint s = file.path.to_cstr('/') _printf(s) + _delete(s) _print_num(ERR_NUM, token.line) _print_num(ERR_NUM, token.col) _print_num(TOK_PRNT, token.data) |