summaryrefslogtreecommitdiff
path: root/tnslc/compile/error.tnsl
diff options
context:
space:
mode:
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)