summaryrefslogtreecommitdiff
path: root/tnslc/compile/function.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/compile/function.tnsl')
-rw-r--r--tnslc/compile/function.tnsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tnslc/compile/function.tnsl b/tnslc/compile/function.tnsl
index c88654a..bc64156 100644
--- a/tnslc/compile/function.tnsl
+++ b/tnslc/compile/function.tnsl
@@ -1750,6 +1750,14 @@ struct Function {
lhs.or(s`.cb, ~rhs)
;; else if (utils.strcmp(n`.data, "^\0") == true)
lhs.xor(s`.cb, ~rhs)
+ ;; else if (utils.strcmp(n`.data, ">>\0") == true)
+ lhs.shr(s`.cb, ~rhs)
+ ;; else if (utils.strcmp(n`.data, "<<\0") == true)
+ lhs.shl(s`.cb, ~rhs)
+ ;; else
+ _printf("COMPILER ERR: NOT IMPL '\0")
+ _printf(n`.data)
+ _printf("'\n\0")
;/
s`.free_after(~lhs, true)