summaryrefslogtreecommitdiff
path: root/tnslc/compile/var.tnsl
diff options
context:
space:
mode:
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)