diff options
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 8babc1b..0154931 100644 --- a/tnslc/compile/var.tnsl +++ b/tnslc/compile/var.tnsl @@ -944,6 +944,7 @@ struct Var { # Typechecking structs /; _tc_struct (~Var other) [bool] + _printf("TC_STRUCT\n\0") /; if (other`.is_struct() == false) return false ;/ @@ -1237,7 +1238,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 - + _printf("SET\n\0") /; if (self.is_struct() == true) # Struct set self._set_struct(buf, other) @@ -1314,6 +1315,7 @@ struct Var { ~int32 p = vcpy.ptrc.get(idx) p` = set ;; else + _printf("TAKE_PTR\n\0") /; if (self.is_struct() == true) self._set_struct_r(buf, reg) ;; else @@ -1859,7 +1861,7 @@ struct Var { ;/ /; member (~CompBuf buf, ~uint8 name) [Var] - + _printf("MEMBER\n\0") /; if (self.is_struct() == false) _printf("ERROR: Attempted to get a member named \"\0") _printf(name) |