summaryrefslogtreecommitdiff
path: root/tnslc/compile/error.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-07-19 03:21:39 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-07-19 03:21:39 -0400
commit5d688b4da97da2c2f684940147478f12d1f2baba (patch)
treede7f4dff152249587790c2b07149769faaefaa37 /tnslc/compile/error.tnsl
parent34e3d4f52264cf707f7e73a8a4167f37eee812d9 (diff)
switch tokenization scheme
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)
-;/
-