diff options
| author | 2025-12-15 11:16:38 +0100 | |
|---|---|---|
| committer | 2025-12-15 11:16:38 +0100 | |
| commit | 068aaef0ea684ecf5f891559aa8e1dae03b8428d (patch) | |
| tree | 07e9685132f22f45bd5d8fe7c66b00e9ed98ad5e /io.c | |
| parent | c244d3c1ba501796152c2278a040cf940b660ea6 (diff) | |
c: support forward-declared enums
This is a common non-standard GNU extension.
Diffstat (limited to 'io.c')
| -rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ pritypebefore(struct wbuf *buf, union type ty, int qual) case TYPTR: chld = typechild(ty); n = pritypebefore(buf, chld, ty.flag & TFCHLDQUAL); - //if (chld.t != TYPTR) n += ioputc(buf, ' '); + n += bputc(buf, ' '); if (chld.t == TYARRAY || chld.t == TYFUNC) n += bputc(buf, '('); n += bputc(buf, '*'); |