projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d40b01
)
Prettify printing of qualified pointer types.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 11 Dec 2008 11:11:05 +0000
(11:11 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 11 Dec 2008 11:11:05 +0000
(11:11 +0000)
[r24518]
type.c
patch
|
blob
|
history
diff --git
a/type.c
b/type.c
index
0646884
..
5134fd5
100644
(file)
--- a/
type.c
+++ b/
type.c
@@
-411,9
+411,10
@@
static void print_pointer_type_pre(const pointer_type_t *type)
fputs(") ", out);
}
fputc('*', out);
-
print_type_qualifiers(type->base.qualifiers)
;
- if (
type->base.qualifiers
!= 0)
+
type_qualifiers_t const qual = type->base.qualifiers
;
+ if (
qual
!= 0)
fputc(' ', out);
+ print_type_qualifiers(qual);
}
/**