summaryrefslogtreecommitdiff
path: root/tnslc/compile/var.tnsl
diff options
context:
space:
mode:
authorCircleShift <kgunger12@gmail.com>2025-12-05 01:03:25 -0500
committerCircleShift <kgunger12@gmail.com>2025-12-05 01:03:25 -0500
commit5b81a4819a249921085f6596927f9939dffc46e7 (patch)
tree45699e5c2505512a951f29f099970d13dc8363d0 /tnslc/compile/var.tnsl
parentc4ece1f196c361f10515d1de41c1b23875769f54 (diff)
[tnslc] Fix pointer issue with find func
Diffstat (limited to 'tnslc/compile/var.tnsl')
-rw-r--r--tnslc/compile/var.tnsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tnslc/compile/var.tnsl b/tnslc/compile/var.tnsl
index c26d227..df62d66 100644
--- a/tnslc/compile/var.tnsl
+++ b/tnslc/compile/var.tnsl
@@ -190,8 +190,8 @@ struct Var {
;; else
t = _tn`.sub.get(idx)
/; if (t`._type == parse.NTYPE_ID)
- ~void str = t`.data
- strv.push(str)
+ ~uint8 str = t`.data
+ strv.push(~str)
;; else
running = false
;/