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.tnsl15
1 files changed, 0 insertions, 15 deletions
diff --git a/tnslc/compile/error.tnsl b/tnslc/compile/error.tnsl
deleted file mode 100644
index 255aec1..0000000
--- a/tnslc/compile/error.tnsl
+++ /dev/null
@@ -1,15 +0,0 @@
-
-~uint8 ERR_NUM = ":%d\0"
-~uint8 TOK_PRNT = " \"%s\": \0"
-
-/; 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)
- _printf(message)
- _printf(newline)
-;/
-