summaryrefslogtreecommitdiff
path: root/tnslc/compile/var.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2026-07-08 02:30:07 -0400
committerKai Gunger <kgunger12@gmail.com>2026-07-08 02:30:07 -0400
commitb45c3e6a23f659d62e02ad420f7cecd86ff07df5 (patch)
treeea213f812fc9e580b9347019fe98fa71b5bb5981 /tnslc/compile/var.tnsl
parentf7ececd879b731194f64123f746ac49b7781fc68 (diff)
[tnslc] first bootstrap attempt pending
Diffstat (limited to 'tnslc/compile/var.tnsl')
-rw-r--r--tnslc/compile/var.tnsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tnslc/compile/var.tnsl b/tnslc/compile/var.tnsl
index 4b023a7..4735021 100644
--- a/tnslc/compile/var.tnsl
+++ b/tnslc/compile/var.tnsl
@@ -372,6 +372,8 @@ struct Var {
_printf("ERROR: Tried to find method \"\0")
_printf(name)
_printf("\" on a variable but we had a pointer in the chain\n\0")
+ _printf("ERROR: OFFENDING VARIABLE:\n\0")
+ self._print(0)
return false
;/
;/
@@ -944,7 +946,6 @@ struct Var {
# Typechecking structs
/; _tc_struct (~Var other) [bool]
- _printf("TC_STRUCT\n\0")
/; if (other`.is_struct() == false)
return false
;/
@@ -1325,7 +1326,6 @@ 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