Hello Basile -

> 2012-10-02  Basile Starynkevitch  <bas...@starynkevitch.net>
>
>         * gengtype.c (walk_type): Emit mark_hook when inside a
>           struct of a union member.

Can you send me off-list the gengtype output before and after the fix?

+       const char *structmarkhook = NULL;

struct_mark_hook or just mark_hook please.

+           oprintf (d->of, "%*s/*structmarkhook %s */ %s (&%s));\n",
+                    d->indent, "", t->u.s.tag,  structmarkhook, oldval);

No need to output the comment.

Thanks,
-- 
Laurynas

Reply via email to