summaryrefslogtreecommitdiff
path: root/small-tests
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-10-29 20:06:51 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-10-29 20:06:51 -0400
commit3395cd7dc356b61fe48ee9d755eef8a7b19ee9f1 (patch)
tree7ff4dcc5fc9e24021fd5d754a8a8ecd2df3a6df4 /small-tests
parent8502bdd410c5a685a66a218fa97ddd2e7d207d30 (diff)
[AST] Statement parsing (incomplete)
Still need to figure out a check for a type followed by a value
Diffstat (limited to 'small-tests')
-rw-r--r--small-tests/base.tnsl3
-rw-r--r--small-tests/examp.tnsl4
2 files changed, 4 insertions, 3 deletions
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