Print type qualifiers for typedefs.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 11 Dec 2007 08:26:37 +0000 (08:26 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 11 Dec 2007 08:26:37 +0000 (08:26 +0000)
[r18667]

type.c

diff --git a/type.c b/type.c
index 2c57f89..8568ed6 100644 (file)
--- a/type.c
+++ b/type.c
@@ -243,6 +243,7 @@ static void print_compound_type(const compound_type_t *type)
 
 static void print_typedef_type_pre(const typedef_type_t *const type)
 {
+       print_type_qualifiers(type->type.qualifiers);
        fputs(type->declaration->symbol->string, out);
 }