From 248fe38d3e2d932001a950b554c731f1698727f9 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 6 Aug 2024 16:53:39 -0400 Subject: [tnslc] binary operators --- tnslc/test.tnsl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'tnslc/test.tnsl') diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index 63ac2df..691e0fb 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -14,14 +14,17 @@ struct Geko { } /; module mod + int i = 0 /; whatev (~uint8 a) [uint8] - return a{0} + # return a{0} ;/ ;/ +int i = mod.i * 2 + 1 * 4 - 2 + /; main [int] - ~uint8 a = "asdf\0" - whatev(a) - whatev("asdf\0") - return 0 + # ~uint8 a = "asdf\0" + #whatev(a) + #whatev("asdf\0") + #return 0 ;/ -- cgit v1.2.3