diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-04 18:18:58 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-04 18:18:58 +0000 |
commit | b68b526af40936d16f35a33bff35c2c57272cd67 (patch) | |
tree | 8aa29a160da93853d23ec332b5e352b7ee78da06 /gcc/gengtype.c | |
parent | 1f947744d8cf0829fdb044e5a391685b26dc7a0e (diff) | |
download | gcc-b68b526af40936d16f35a33bff35c2c57272cd67.tar.gz |
Basile Starynkevitch <basile@starynkevitch.net>
* gengtype.c (walk_type): Emit mark_hook when inside a
struct of a union member.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192095 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengtype.c')
-rw-r--r-- | gcc/gengtype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gengtype.c b/gcc/gengtype.c index d872b4ea78a..213567653fe 100644 --- a/gcc/gengtype.c +++ b/gcc/gengtype.c @@ -2839,7 +2839,7 @@ walk_type (type_p t, struct walk_type_data *d) struct_mark_hook = o->info.string; if (struct_mark_hook) - oprintf (d->of, "%*s%s (&%s));\n", + oprintf (d->of, "%*s%s (&%s);\n", d->indent, "", struct_mark_hook, oldval); d->prev_val[2] = oldval; |