diff options
Diffstat (limited to 'bootstrap/cgen.c')
| -rw-r--r-- | bootstrap/cgen.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |