2013/5/6 Jeff Law <l...@redhat.com>:
> On 05/03/2013 06:48 PM, David Malcolm wrote:
>
>>
>> +static int indent_amount = 0;
>> +static int had_recent_newline = 0;
>
> Any clean way to do this without the global state?  I have to ask given
> you're generally working on removing global state.  Seems to take a tiny
> step backwards.

My 2c is that this global state is confined to gengtype, where the
increased modularity isn't going to pay off much anyway. Thus IMHO
it's not a big deal.

Reply via email to