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

Tim Hentenaar <[email protected]> Tue, 16 Jun 2015 11:36:52 +0200
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <[email protected]>
Hi Clark,

On Tue, Jun 16, 2015 at 10:41:11AM +0800, clarkw wrote:
> Can anyone also take a look at another problem reported at
> http://lists.gnu.org/archive/html/bug-indent/2015-04/msg00002.html ?
> 
> -clark

Try building with this patch. It should solve that problem:

http://lists.gnu.org/archive/html/bug-indent/2015-06/msg00007.html

You can see that from the regression tests here (with the -sar option,
spaces are added around the '{' and '} in the initializer:

http://lists.gnu.org/archive/html/bug-indent/2015-06/msg00017.html


Tim

_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABAgAGBQJVf+40AAoJEPHs51dHcEI446gP+wVAJdbTvFeQy4bSNdhNtmyY
bQhk+I0bnkDBvK5BGmpu8bNGgSXXH53mUUjF46Rolt1vXTKegx91K2jNnhbkEAt8
6Pj4+U6yajseFDV+i0Sl7ofh/SIF+5QElF91UUbEK5wBvhZR7tTbB4K3hmIzhkcm
RncHbx2EV2Utu/9PMovP5rHBVyTnXWhAk9el1iGoGg4AczxWDjQidSeKg3lD7tq3
2sSWBaCLvLQ9nm1LsbvPpk5Fbg/WDKyF5m+yPU/V09V2f/fKs/fC3Acn5NkEpMpx
8/D6UztXhjYrsdNbiX6lRQvMQBwj+xz8FviY4709rMGgViYWocWYEPIdnzzd++XN
9+4Lc+qBnmb0fTIHTyo+LOcah/3Wy6knO+30hoPUus3c3YzlYEEQdMNjP6sKSrIC
dx21Ic6j7K3Cz16GKJ1OIXjjHjS06D/Si/+rd8dM1Hly0agZ18harRU4uYjOcjdD
hDGQSYAVJrRDA+oCGRgaMsbaoK/38mq0Q49AgytR7Ju+fF/ILh7t4KIra92/isgO
iBGaj4FaTpP2wJxklX6cfpcU9ofNAuggaErD1Y6mKmMsRjfcgLayMQRXhGFLJZoV
EGoqSAW6nGkNZZ3xiArcxDKoBMQ6IPlsiD21ebUKiesai0wf/hwdwzMynCD6x5/l
lrdodpX1SsdUJOZGd3vN
=6MPe
-----END PGP SIGNATURE-----