summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r--tnslc/test.tnsl18
1 files changed, 16 insertions, 2 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
index 7e5112a..c6ffe08 100644
--- a/tnslc/test.tnsl
+++ b/tnslc/test.tnsl
@@ -1,5 +1,17 @@
+struct Token {
+ ~uint8 data,
+ int
+ tokenType,
+ line,
+ col
+}
+
+enum TOKENS [Token] {
+ A = {"asdf", 1, 2, 3}
+}
+
struct PTR_TEST {
- int dat, in
+ int8 dat, in
}
struct ARRAY_TEST {
@@ -12,10 +24,12 @@ enum ENUM_TEST [{}uint8] {
}
enum EN_ARR [PTR_TEST] {
- A = {1, 2},
+ A = {3, 2},
B = {3, 4}
}
+uint WAMM = 31, WAM2 = 34
+
struct A {
B nxta
}