bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Breaking long line results are different is indent was run twice with th


From: Zhaohan Zhou
Subject: Breaking long line results are different is indent was run twice with the same option
Date: Thu, 19 Jul 2012 11:13:48 +0800

I am using GNU indent 2.2.10 on Ubuntu 10.04.4 LTS.
Indent works great except that long line will be handled differently
if I run indent twice with the same options against the same files.
E.g.
After first indent run, I got:

SYMX_SF_D16IE_CTL_SIZE (pIeNode->IeCtl.tVendorIE.
                                                     ulVendorLen));
run again, I got

                             SYMX_SF_D16IE_CTL_SIZE (pIeNode->IeCtl.
                                                     tVendorIE.ulVendorLen));
Actually, after running thrice, it will change back to
SYMX_SF_D16IE_CTL_SIZE (pIeNode->IeCtl.tVendorIE.
                                                     ulVendorLen));

Is this the expected behavior or what option should be used/unused to
avoid this.
I believe this kind of unexpected changes should a bad new for version control.

Thanks in advance!



reply via email to

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