aboutsummaryrefslogtreecommitdiff
path: root/src/all.hff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-13 10:38:27 +0200
committerlemon <lsof@mailbox.org>2022-08-13 10:38:27 +0200
commit7d4cb5bb96b061ed8708889b75e4d50757d9b3f2 (patch)
treeb57fdfa2dd7d61b888930d45c5f8f6f873db39ff /src/all.hff
parent62132ecc8d032ef251d6b54177414a9ba29e8610 (diff)
set template
Diffstat (limited to 'src/all.hff')
-rw-r--r--src/all.hff16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/all.hff b/src/all.hff
index f15df13..ff74ab7 100644
--- a/src/all.hff
+++ b/src/all.hff
@@ -85,6 +85,22 @@ struct Tok {
},
}
+struct Type {
+ size usize,
+ align usize,
+ konst bool,
+ id uint,
+ t enum union {
+ void,
+ bool,
+ int struct { sgn bool },
+ flo,
+ ptr *Type,
+ arr struct { child *Type, length i64 },
+ slice *Type,
+ }
+}
+
struct Decl {
}