From 3b5de0beed36c10798f96972ec9c9eeb142561c2 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 25 Jun 2024 00:19:17 -0400 Subject: Start work on ast gen --- tnslc/test.tnsl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tnslc/test.tnsl') diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index 7572f1f..28f0917 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -1,5 +1,12 @@ # should not be included + +/; whatev (~uint8 a) [uint8] + return a{0} +;/ + /; main [int] - + ~uint8 a = "asdf\0" + whatev(a) + whatev("asdf\0") return 0 ;/ -- cgit v1.2.3