[PATCH] dcopidl - accepting '\r' characters

Harri Porten porten at froglogic.com
Fri Feb 11 10:58:44 GMT 2005


On Fri, 11 Feb 2005, Thiago Macieira wrote:

> Isn't it possible to condense \r\n into \n instead? I don't think simply
> eating all \r is healthy.
>
> Stray \r in the source code is certainly corrupted file.
>
> BTW, doesn't Mac use \r alone as its line-breaking character? If so, maybe
> tr/\r/\n/ is the way to go, since whitespaces are whitespaces anywhere.

I think so, too. So I suggest to adapt the scanner instead. Anyone feels
like getting some lex exercise? :)

Harri.






More information about the kde-core-devel mailing list