summaryrefslogtreecommitdiff
path: root/tnslc/compile/var.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2025-12-28 01:52:42 -0500
committerKai Gunger <kgunger12@gmail.com>2025-12-28 01:52:42 -0500
commit75c5c7ccdf258d1f4731b02b6291ce55a04ea709 (patch)
tree9037f5f4e5618536f5746d317d146f7f041a296d /tnslc/compile/var.tnsl
parent7cd51a35921e7ed17fc3646bfd533695e35bebfd (diff)
pre-check funcs (stub)
Diffstat (limited to 'tnslc/compile/var.tnsl')
-rw-r--r--tnslc/compile/var.tnsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tnslc/compile/var.tnsl b/tnslc/compile/var.tnsl
index cf12878..0dc0586 100644
--- a/tnslc/compile/var.tnsl
+++ b/tnslc/compile/var.tnsl
@@ -115,6 +115,7 @@ struct Var {
out.init(self._tn, self._id)
out._type = self._type
out.loc = self.loc
+ out.offset = self.offset
/; loop (int i = 0; i < self.ptrc.count) [i++]
~int32 p = self.ptrc.get(i)