Re: Extra white space introduced

Lynn Kerby <[email protected]>
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.