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: 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

Attachment: pgplMoM9T2Zfh.pgp
Description: PGP signature


reply via email to

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