summaryrefslogtreecommitdiff
path: root/tnslc/tnslc.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/tnslc.tnsl')
-rw-r--r--tnslc/tnslc.tnsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tnslc/tnslc.tnsl b/tnslc/tnslc.tnsl
index 8bad758..aea8bca 100644
--- a/tnslc/tnslc.tnsl
+++ b/tnslc/tnslc.tnsl
@@ -1084,7 +1084,9 @@
;; else if (p >== 0)
;s = s + p
;; else
- ;~Type tp = m`.find_type(t`.members{i}.data_type.name)
+ ;tnsl.io.println("STRUCT!!!!!!")
+ ;{}{}uint8 artifact = { t`.members{i}.data_type.name }
+ ;~Type tp = m`.find_type(artifact)
/; if (tp`.s == 0)
;size_struct(tp, m)
;/