From: Basile Starynkevitch Date: Thu, 4 Oct 2012 18:18:58 +0000 (+0000) Subject: Basile Starynkevitch X-Git-Tag: misc/gccgo-go1_1_2~412 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=226a0af83759b5b6133c233f3e467e2183dc8fcc;p=thirdparty%2Fgcc.git Basile Starynkevitch * gengtype.c (walk_type): Emit mark_hook when inside a struct of a union member. From-SVN: r192095 --- diff --git a/gcc/gengtype.c b/gcc/gengtype.c index d872b4ea78ab..213567653fed 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;