From 1352aaa4741bf9e558070150ae7b223ad8aa62e8 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 30 Sep 2024 12:42:21 -0400 Subject: [tnslc] finish decl --- tnslc/test.tnsl | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'tnslc/test.tnsl') diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index 0d54258..c1b44cd 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -1,17 +1,3 @@ -struct Fin { - ~void fd, - int state -} - -/; main (int argc, {}{}uint8 argv) [int] - uint8 a = 1 - ~uint8 b = ~a - Fin c - ~Fin d = ~c - b` = 2 - c.state = a - d`.state = 0 - return c.state -;/ +int i = 1 + 2 * 4 - 3 + 4 -- cgit v1.2.3