[sldev] Release/First Look source code drop, FL-

Andrew Meadows andrew at lindenlab.com
Fri Mar 9 11:40:22 PST 2007

> David Fries wrote:
>> As far as why even have at new line at the end of a file?  Other than
>> the compiler complainnig `cat file` and the command prompt is shifted
>> over if it doesn't end in a new line.
> Because without it, it's not a valid text file.
> -Jason

I think one specific problem is that if foo.h is missing a newline
at the end of the file then the '#include "foo.h"' precompiler
command inside bar.cpp will join the line below it.  This has bitten
me before.

- Andrew

More information about the SLDev mailing list