diff options
| author | 2026-01-25 12:58:22 +0100 | |
|---|---|---|
| committer | 2026-01-25 12:58:22 +0100 | |
| commit | f9f0789e58be01b7169712d64af9443a35392fbf (patch) | |
| tree | 438d7cade1a62d33db4e0aef85cd1c235527ade2 /io.c | |
| parent | ca983b5700f894c653758a4f93a758b93d025621 (diff) | |
c: support at least parsing C99 _Complex types
Diffstat (limited to 'io.c')
| -rw-r--r-- | io.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |