summaryrefslogtreecommitdiff
path: root/tnslc/utils
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2026-06-29 23:53:13 -0400
committerKai Gunger <kgunger12@gmail.com>2026-06-29 23:53:13 -0400
commita3fc7c905b780244a8984698116f10ad3fe6f6ed (patch)
treebfb4c76cb7742154dac63e9c32d4036496d00d28 /tnslc/utils
parenta79a6d8f9be059b2bf2c1fc6548592546322f53d (diff)
[tnslc] some random fixes, still need to fix parser
Diffstat (limited to 'tnslc/utils')
-rw-r--r--tnslc/utils/algo.tnsl3
1 files changed, 0 insertions, 3 deletions
diff --git a/tnslc/utils/algo.tnsl b/tnslc/utils/algo.tnsl
index ed11aad..4f3c6b2 100644
--- a/tnslc/utils/algo.tnsl
+++ b/tnslc/utils/algo.tnsl
@@ -72,7 +72,6 @@
;/
/; decode_dec (uint8 ch) [int]
- _print_num(NUM_STR, ch)
/; if (ch !< '0' && ch !> '9')
return ch - '0'
;/
@@ -97,8 +96,6 @@
out = out * base
int decoded = 0
- _print_num(NUM_STR, start)
- _print_num(NUM_STR, str{start})
/; if (base == 2)
decoded = decode_bin(str{start})
;; else if (base == 8)