From 9bf5c97d3b5391c6cf3757629d09a53403a64f45 Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 19 Oct 2025 11:06:58 +0200 Subject: c irgen fixes --- io.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'io.c') diff --git a/io.c b/io.c index b6729ee..8306fb2 100644 --- a/io.c +++ b/io.c @@ -651,6 +651,13 @@ bfmt(struct wbuf *buf, const char *fmt, ...) return ret; } +void +gpritype(union type ty) +{ + efmt("%ty\n", ty); + ioflush(&bstderr); +} + static uint pagesiz; extern struct embedfile embedfilesdir[]; -- cgit v1.2.3