bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -s


From: Clark Wang
Subject: Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar
Date: Wed, 17 Jun 2015 14:48:19 +0800

On Wed, Jun 17, 2015 at 2:29 PM, Tim Hentenaar <address@hidden> wrote:

> On Wed, Jun 17, 2015 at 01:08:19PM +0800, Clark Wang wrote:
>  Hi Tim,
> >
> > Does your github repository ( https://github.com/thentenaar/indent )
> > include all these patches? I just tried your latest code (commit
> > 3c3dbe3e33) but it did not work. See followng example:
>
> Indeed. It's something related to the sizeof operator.


Yes. I also have a workaround here: http://superuser.com/questions/855881/
. :)


> I'll look into it
> today.
>
> If you change the first two lines in the initializer list for arr to
>
> { &a, "xxx" },
> { &b, 123 },
>
> those get formatted correctly.
>
> Kind Regards,
>
> Tim
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]