summaryrefslogtreecommitdiff
path: root/gcc/gengtype.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-04 18:18:58 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-04 18:18:58 +0000
commitb68b526af40936d16f35a33bff35c2c57272cd67 (patch)
tree8aa29a160da93853d23ec332b5e352b7ee78da06 /gcc/gengtype.c
parent1f947744d8cf0829fdb044e5a391685b26dc7a0e (diff)
downloadgcc-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.c2
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;