From fc0262447a128ec8047689ddb885cffa8aa6e2dc Mon Sep 17 00:00:00 2001 From: Kai Gunger Date: Fri, 3 Jul 2026 05:01:26 -0400 Subject: [tnslc] Fix some parsing issues --- tnslc/compile/function.tnsl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tnslc/compile/function.tnsl') diff --git a/tnslc/compile/function.tnsl b/tnslc/compile/function.tnsl index 849bae1..2a8363a 100644 --- a/tnslc/compile/function.tnsl +++ b/tnslc/compile/function.tnsl @@ -1461,6 +1461,7 @@ struct Function { s`.free_after(~lhs, true) ;/ + _printf("COMPILE_BOOL_OP\n\0") /; if (lhs.is_struct() == true) _printf("Can not use struct as boolean value\n\0") lhs.end() @@ -1512,6 +1513,7 @@ struct Function { # Compute right hand side Var rhs = self._compile_value(s, rhn) + _printf("COMPILE_BOOL_OP\n\0") /; if (rhs.is_struct() == true) _printf("Can not use struct as boolean value\n\0") lhs.end() @@ -1601,6 +1603,7 @@ struct Function { # Compute right hand side Var rhs = self._compile_value(s, rhn) + _printf("COMPILE_CMP_OP\n\0") # Check not structs /; if (lhs.is_struct() == true || rhs.is_struct() == true) _printf("Can not compare structs in this version of tnsl\n\0") -- cgit v1.2.3