[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixcc.py and variable assignments on two lines
From: |
Trevor Daniels |
Subject: |
Re: fixcc.py and variable assignments on two lines |
Date: |
Thu, 4 Aug 2011 16:58:23 +0100 |
Reinhold Kainhofer wrote Thursday, August 04, 2011 4:40 PM
fixcc.py seems to mess up indentation of variable assignments that
are spread
over two lines. In particular, if you have
static char const *WARRANTY
= _i (" This program is free software; you can redistribute it
and/or\n"
then fixcc.py will change it so that the second line will NOT be
indented:
static char const *WARRANTY
= _i (" This program is free software; you can redistribute it
and/or\n"
Yes, we pointed out multi-line statements are not properly
indented a couple of times earlier. Keith has reported
this upstream to the astyle people.
Is this really what we want?
No, but the consensus was to live with it for now
so we get the other benefits.
Trevor
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1390 / Virus Database: 1518/3809 - Release Date: 08/03/11