diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-05-06 04:52:02 -0400 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-05-06 04:52:02 -0400 |
| commit | 8ffb50a4bc61b51952aa78da0c6e1f002f09e1be (patch) | |
| tree | d55aabf3bc0638dc1eec0725e086ae5972ea1385 /tnslc/compile/var.tnsl | |
| parent | 722d5ace0290a2d1cace8a1be5b4c5b0ab3137ec (diff) | |
[tnslc] better calling, issue with member setting on refs
Diffstat (limited to 'tnslc/compile/var.tnsl')
| -rw-r--r-- | tnslc/compile/var.tnsl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tnslc/compile/var.tnsl b/tnslc/compile/var.tnsl index 477a4fb..9c7c042 100644 --- a/tnslc/compile/var.tnsl +++ b/tnslc/compile/var.tnsl @@ -1183,7 +1183,7 @@ struct Var { # - If builtin then move based on size (byte, word, dword, qword) # - If pointer then move qword # - If struct then move via rep movsb - + /; if (self.is_struct() == true) # Struct set self._set_struct(buf, other) @@ -1252,7 +1252,7 @@ struct Var { /; if (vcpy.is_ptrc(i, 0) == false) i = vcpy.ptrc.count ;; else - set++ + idx++ ;/ ;/ @@ -1276,6 +1276,8 @@ struct Var { vcpy.loc = reg vcpy.offset = 0 + vcpy.ptrc.end() + vcpy.ptrc.init(4) vcpy.ptr_push(set) ;/ |