Commit 226a0af8 by Basile Starynkevitch

Basile Starynkevitch <basile@starynkevitch.net>

        * gengtype.c (walk_type): Emit mark_hook when inside a
          struct of a union member.

From-SVN: r192095
parent efb63364
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment