summaryrefslogtreecommitdiff
path: root/tnslc/compile/error.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-31 10:18:13 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-03-31 10:18:13 -0400
commit4a15d64a65cca37a708af4f954415b5c205a9655 (patch)
treebef833da928309e489325389bf7d485500cf49b5 /tnslc/compile/error.tnsl
parentacc33ffeb8f5eae5e6bb805f1cb409841f0aad75 (diff)
better tokens
Diffstat (limited to 'tnslc/compile/error.tnsl')
-rw-r--r--tnslc/compile/error.tnsl1
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)