[DGD] Re: lf in #define

Par Winzell zell at skotos.net
Thu Jan 8 18:22:25 CET 2004


>>I've solved the problem now. It was the linebreaking that was the problem 
>>(crlf instead of lf). Since the rest of DGD tolerates crlf, how about the 
>>preprocessor allowing it as well? It doesn't make sense to only 
>>half-support ms-dos linebreaks. If ms-dos linebreaks are a bad thing, they 
>>should be illegal everywhere, if they're acceptable, they should be legal 
>>everywhere. What do you think?
> 
> 
> They aren't supported anywhere, but merely ignored and only in
> preprocessor statements do they cause problems.  Newlines in DGD's LPC
> code are \n, not \r\n, not \n\r, and not \r.

The suggestion that line feed support should be consistent makes pretty 
good sense to me. Personally I'd be quite happy to see MS DOS line feeds 
go out the door entirely, of course...

Zell

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list