summaryrefslogtreecommitdiff
path: root/tnslc/vector.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-08-13 02:59:41 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-08-13 02:59:41 -0400
commita0108fa817c7258ab97c3c2749897c44e5467d1d (patch)
tree2f2d3f6c3dd68aaa7b7787b4c2b5bb6900cd35f4 /tnslc/vector.tnsl
parent0cc237617e4e853520b0509c02408d4170572d28 (diff)
Fix issue with vector
Re-add definitions for variable, type, and module
Diffstat (limited to 'tnslc/vector.tnsl')
-rw-r--r--tnslc/vector.tnsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/vector.tnsl b/tnslc/vector.tnsl
index 73580e0..cab2ead 100644
--- a/tnslc/vector.tnsl
+++ b/tnslc/vector.tnsl
@@ -73,7 +73,7 @@ struct Vector {
# [UNSAFE] ONLY USE FOR STRING VECTORS
/; add_str (~uint8 dat)
- /; loop (int i = 0; dat{i} !== 0)
+ /; loop (int i = 0; dat{i} !== 0) [i++]
self.push(dat + i)
;/
;/