[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: |
Tim Hentenaar |
Subject: |
Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar |
Date: |
Wed, 17 Jun 2015 08:29:17 +0200 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
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. 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
pgplMoM9T2Zfh.pgp
Description: PGP signature
- [PATCH 07/11] Add an option to use spaces for aligment when using tabs, (continued)
- [PATCH 07/11] Add an option to use spaces for aligment when using tabs, Tim Hentenaar, 2015/06/15
- [PATCH 08/11] Adjust -npcs so that if set, no space will be added between a function pointer's name and its argument list., Tim Hentenaar, 2015/06/15
- [PATCH 05/11] Add an option to allow single-line conditionals, Tim Hentenaar, 2015/06/15
- [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/15
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Daniel P. Valentine, 2015/06/15
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Andrew Shadura, 2015/06/15
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/15
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, clarkw, 2015/06/16
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/16
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Clark Wang, 2015/06/17
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar,
Tim Hentenaar <=
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Clark Wang, 2015/06/17
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/17
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Clark Wang, 2015/06/18
[PATCH 10/11] Add -par to K&R style, Tim Hentenaar, 2015/06/15