From e0630766450d402455d9c8368087f96d8075c07c Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 5 Aug 2022 09:31:06 +0200 Subject: headers, import --- bootstrap/cgen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bootstrap/cgen.c') diff --git a/bootstrap/cgen.c b/bootstrap/cgen.c index 2f92375..b4cea42 100644 --- a/bootstrap/cgen.c +++ b/bootstrap/cgen.c @@ -593,13 +593,13 @@ prelude() { } void -cgen(FILE *fp, const struct transunit *tu) { +cgen(FILE *fp, const struct comfile *cf) { outfp = fp; prelude(); visittypes(defctype, NULL); - for (int i = 0; i < tu->decls.n; ++i) { - gendecl(&tu->decls.d[i], 1); + for (int i = 0; i < cf->decls.n; ++i) { + gendecl(&cf->decls.d[i], 1); } } -- cgit v1.2.3