diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-07-03 05:01:26 -0400 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-07-03 05:01:26 -0400 |
| commit | fc0262447a128ec8047689ddb885cffa8aa6e2dc (patch) | |
| tree | 5ad6744e877cf48c78cd54da368c1c5f405637bc /tnslc/compile/function.tnsl | |
| parent | 5a0e41021e7ef474c206688a32020be5435bcb09 (diff) | |
[tnslc] Fix some parsing issues
Diffstat (limited to 'tnslc/compile/function.tnsl')
| -rw-r--r-- | tnslc/compile/function.tnsl | 3 |
1 files changed, 3 insertions, 0 deletions
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") |