]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Basile Starynkevitch <basile@starynkevitch.net>
authorBasile Starynkevitch <bstarynk@gcc.gnu.org>
Thu, 4 Oct 2012 18:18:58 +0000 (18:18 +0000)
committerBasile Starynkevitch <bstarynk@gcc.gnu.org>
Thu, 4 Oct 2012 18:18:58 +0000 (18:18 +0000)
        * gengtype.c (walk_type): Emit mark_hook when inside a
          struct of a union member.

From-SVN: r192095

gcc/gengtype.c

index d872b4ea78ab2e8692b0656024fa085170ee6ac6..213567653fedd845d9c6ea267ba7823f1eafac99 100644 (file)
@@ -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;