From f9f0789e58be01b7169712d64af9443a35392fbf Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 25 Jan 2026 12:58:22 +0100 Subject: c: support at least parsing C99 _Complex types --- io.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'io.c') diff --git a/io.c b/io.c index d98eacd..0211320 100644 --- a/io.c +++ b/io.c @@ -210,6 +210,9 @@ pritypebefore(struct wbuf *buf, union type ty, int qual) case TYFLOAT: s = "float"; goto Prim; case TYDOUBLE: s = "double"; goto Prim; case TYLDOUBLE:s = "long double"; goto Prim; + case TYCOMPLEXF:s = "float complex"; goto Prim; + case TYCOMPLEX: s = "double complex"; goto Prim; + case TYCOMPLEXL:s = "long double complex"; goto Prim; case TYPTR: chld = typechild(ty); n = pritypebefore(buf, chld, ty.flag & TFCHLDQUAL); -- cgit v1.2.3