[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extra white space introduced
From: |
Lynn Kerby |
Subject: |
Re: Extra white space introduced |
Date: |
Mon, 14 Aug 2006 11:31:04 -0700 |
On Aug 12, 2006, at 3:55 AM, Brian Wichmann wrote:
Dear Sir,
I am experimenting with a tool which generates very complex C to test
C compilers.
Unfortunately, indent changes the program so that it no longer
compiles!
The problem is the characters after literals, so that the original
text "-5422749.0f" become "-5422749.0 f" which
is then rejected by gcc. Similar problems arise with U, UL and ULL
rather than f.
I can provide the original example which found this problem, but it is
rather long and tedious!
Brian,
Indent appears to be maintainerless at the moment, but maybe not for
much longer :-).
I think I've seen this behavior once or twice in other code but haven't
managed to track down a small test case or possibly the options that
trigger it. Can you tell me what your .indent.pro contains or the
command line options you are using for this invocation? I've tried a
couple of things here and can't reproduce it, but I still think I've
seen it happen before.
If you could trim down your example code a bit and forward it to me
(offlist) I'd be happy to look into the problem.
Lynn Kerby