------- Comment #2 from kargl at gcc dot gnu dot org  2008-05-30 06:19 -------
(In reply to comment #1)
> This could be solved by judicious use of a good source code editor.
> 
> Also, we could have the scanner insert a '/n' if a '/r' is found and peeking
> ahead does not find a '/n', assuming we are not between quotes in a literal
> string.
> 

You don't need a good source code editor.

tr '\r' '\n' < infile > outfile

This should be closed with a WONTFIX. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36378

Reply via email to