This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Eager newline handling for cpplib [patch]


On Mon, 15 Mar 1999 12:52:19 -0800, Per Bothner wrote:
>> I hope we're not treating a lone \r as an end
>> of line indicator....
>
>I believe we are - and that is correct.

We are.  We had a long discussion of this back in January, the consensus was
that all of the four sequences \n, \r, \r\n, and \n\r should be treated as
end-of-line.  MacOS does use lone \r as end of line.  I've never seen \n\r,
but Matthias Ulrichs assures us it can happen.

See "cpp w/DOS line feeds" thread in the archives.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]