From f97e08b3da14c79f7f78e439d06988753c79384b Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 7 Aug 2022 09:35:07 +0200 Subject: many decl bugfixes --- bootstrap/all.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'bootstrap/all.h') 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; }; /************/ -- cgit v1.2.3