summaryrefslogtreecommitdiff
path: root/tnslc/compile/struct.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/struct.tnsl
parentc4ece1f196c361f10515d1de41c1b23875769f54 (diff)
[tnslc] Fix pointer issue with find func
Diffstat (limited to 'tnslc/compile/struct.tnsl')
-rw-r--r--tnslc/compile/struct.tnsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/compile/struct.tnsl b/tnslc/compile/struct.tnsl
index 7c18585..45f85d3 100644
--- a/tnslc/compile/struct.tnsl
+++ b/tnslc/compile/struct.tnsl
@@ -189,7 +189,7 @@ struct Struct {
n = tn`.sub.get(i)
/; if (n`._type == parse.NTYPE_ID)
str = n`.data
- sv.push(str)
+ sv.push(~str)
seen_id = true
;; else if (seen_id == true)
i = tn`.sub.count