diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-07-19 03:21:39 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-07-19 03:21:39 -0400 |
commit | 5d688b4da97da2c2f684940147478f12d1f2baba (patch) | |
tree | de7f4dff152249587790c2b07149769faaefaa37 /tnslc/compile/error.tnsl | |
parent | 34e3d4f52264cf707f7e73a8a4167f37eee812d9 (diff) |
switch tokenization scheme
Diffstat (limited to 'tnslc/compile/error.tnsl')
-rw-r--r-- | tnslc/compile/error.tnsl | 15 |
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) -;/ - |