aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-07 09:35:07 +0200
committerlemon <lsof@mailbox.org>2022-08-07 09:35:07 +0200
commitf97e08b3da14c79f7f78e439d06988753c79384b (patch)
treef4d51145f057a38c99bc304d15a422546dc766ef /bootstrap/all.h
parent59988a43079d0097151f57f941ea8f01a0b714d7 (diff)
many decl bugfixes
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h
index 2f7f070..8c80fe4 100644
--- a/bootstrap/all.h
+++ b/bootstrap/all.h
@@ -177,7 +177,7 @@ struct type {
const char *name;
const struct type *ty;
}) flds;
- slice_t(struct decl) decls;
+ slice_t(struct decl *) decls;
bool fwd;
int id;
} agg;
@@ -382,12 +382,8 @@ struct stmt {
};
};
-struct declsl {
- slice_t(struct decl);
-};
-
struct comfile {
- struct declsl decls;
+ slice_t(struct decl *) decls;
};
/************/