What tells the coding style about whitespaces at end of lines or in *empty* lines ?

Robert Dewar dewar@adacore.com
Thu Mar 1 13:38:00 GMT 2007


Kai Tietz wrote:
> Hi,
> 
> I noticed while editing gcc files, that there are a lot of *useless* 
> whitespaces at the end of lines or within empty lines, which are getting 
> automatic removed by some *smarter* editors as I am common to use *sigh*. 
> This leads to huge diff files and the real change is getting veiled. I 
> think it would be nice to eliminate these *usesless* whitespaces.

Note that the coding standard for GNAT forbids trailing white spaces.
It also forbids embedded horizontal tabs for similar reasons (avoiding
junk difs).



More information about the Gcc mailing list