> How about this? Looks like WriteTypeInitFunc is void, so there's nothing to do
> but return after the error report.
I think it' be better to just break out of the loop, since otherwise we leave
a dangling { in the output. The same with the rest of it, leaving unclosed {
around is probably bad. (I'm not sure how much that'll affect it though since
the output will be mostly empty anyway.)
Other than that, fine with me. Please attach a git-formatted patch so I can
push it easily.
> How about this? Looks like WriteTypeInitFunc is void, so there's nothing to do
> but return after the error report.
I think it' be better to just break out of the loop, since otherwise we leave
a dangling { in the output. The same with the rest of it, leaving unclosed {
around is probably bad. (I'm not sure how much that'll affect it though since
the output will be mostly empty anyway.)
Other than that, fine with me. Please attach a git-formatted patch so I can
push it easily.