aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-08 16:06:08 +0200
committerlemon <lsof@mailbox.org>2022-08-08 16:06:08 +0200
commitfc55daf22dd890860ac9c1a0a29900977a700df2 (patch)
tree96735ed737ae499c9dbbf54ad7bec44c6a4b6eb0 /bootstrap/all.h
parentcc325dce01101e8b488cfc7e9fddfe0f778c7e17 (diff)
start self hosted comler
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h
index 373aac9..3cadd4c 100644
--- a/bootstrap/all.h
+++ b/bootstrap/all.h
@@ -180,6 +180,7 @@ struct type {
const char *name;
i64 i;
}) vals;
+ bool lax;
int id;
} enu;
struct {
@@ -243,6 +244,16 @@ enum decltype {
Dlabel,
};
+struct attr {
+ union {
+ struct {
+ uint lax : 1;
+ };
+ uint bits;
+ };
+
+};
+
struct decl {
enum decltype t;
const char *name;