summaryrefslogtreecommitdiff
path: root/tnslc/compile
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-10-09 01:58:52 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-10-09 01:58:52 -0400
commitb819cbb3b0ff492024b72d9ea9c9e28e1023b9c3 (patch)
tree263f5a9b02c64756a9e76d686425a57d1eb6e6fb /tnslc/compile
parent82bddb5aa27873695d22a5af9150a6c763c6351b (diff)
Rewrite to work with parser
Diffstat (limited to 'tnslc/compile')
-rw-r--r--tnslc/compile/compile.tnsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/compile/compile.tnsl b/tnslc/compile/compile.tnsl
index 6bfa07e..520ea1f 100644
--- a/tnslc/compile/compile.tnsl
+++ b/tnslc/compile/compile.tnsl
@@ -64,7 +64,7 @@
;int i = 0
/; loop (i < index) [i++]
- /; if (tab`.sym_types{i}._size <= 8 && reg < 7)
+ /; if (tab`.sym_types{i}._size !> 8 && reg < 7)
;reg++
;; else
;stack_bytes = stack_bytes + tab`.sym_types{i}._size