From 3395cd7dc356b61fe48ee9d755eef8a7b19ee9f1 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 29 Oct 2021 20:06:51 -0400 Subject: [AST] Statement parsing (incomplete) Still need to figure out a check for a type followed by a value --- small-tests/base.tnsl | 3 ++- small-tests/examp.tnsl | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'small-tests') diff --git a/small-tests/base.tnsl b/small-tests/base.tnsl index f291cf3..157b65b 100644 --- a/small-tests/base.tnsl +++ b/small-tests/base.tnsl @@ -2,4 +2,5 @@ ;a.pl() # Same -; a . pl () \ No newline at end of file +; a . pl () + diff --git a/small-tests/examp.tnsl b/small-tests/examp.tnsl index 196db40..f8579a0 100644 --- a/small-tests/examp.tnsl +++ b/small-tests/examp.tnsl @@ -19,7 +19,7 @@ # pass a variable ;int s = 3 -;byte bitbyte = .2 +;int8 bitbyte = .2 # generic scope block @@ -120,7 +120,7 @@ ;/ -/; switch (i) +/; match (i) # You can do stuff here as well ;int t = 0 -- cgit v1.2.3