Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar
Clark Wang <[email protected]> Wed, 17 Jun 2015 14:48:19 +0800
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <CADv8-oja_OkRC6NRZyUN5ZsgVpVpqP7_+6FPLp6H1qH6iFiPaA@mail.gmail.com> |
On Wed, Jun 17, 2015 at 2:29 PM, Tim Hentenaar <[email protected]> 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 > >