aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-05-28 09:40:42 +0200
committerlemon <lsof@mailbox.org>2023-05-28 09:40:42 +0200
commit6f7bea0cff2ecbca3427def8ead2c9ceec966b14 (patch)
treeb8a4e0ecf13f7025a6dc2d057ce949def45b90be /io.c
parent0be496ba1ca5695091494576fb18e4368789b491 (diff)
bool fixes
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.c b/io.c
index 760dea3..d51e28d 100644
--- a/io.c
+++ b/io.c
@@ -171,6 +171,7 @@ pritypebefore(struct wbuf *buf, union type ty, int qual)
int n;
switch (ty.t) {
case TYVOID: s = "void"; Prim: n = bfmt(buf, "%s", s); return n + priquals(buf, qual);
+ case TYBOOL: s = "bool"; goto Prim;
case TYCHAR: s = "char"; goto Prim;
case TYSCHAR: s = "signed char"; goto Prim;
case TYUCHAR: s = "unsigned char"; goto Prim;