From mboxrd@z Thu Jan 1 00:00:00 1970 From: Per Bothner To: langston@SLAC.Stanford.EDU Cc: egcs Subject: Re: CRLF translations by CPP? Date: Sun, 25 Jan 1998 23:26:00 -0000 Message-id: <199801260725.XAA02309@cygnus.com> References: <34CC20B9.2DF560E0@SLAC.Stanford.EDU> X-SW-Source: 1998-01/msg00918.html > Is there a mechanism to enable egcs to properly parse multi-line cpp > macros that end with Backslash-CarriageReturn-LineFeed instead of > Backslash-LineFeed? Cpp (and cpplib and the various lexers) should be modified so that they treat any of CR, LF, or CR-followed-by-LF as a newline - without requiring any special flags, independent of host operating system. This is the most useful and convenient apprach (for the user) for any program that reads "text" input. But actually doing the work is tedious. Note that Cygnus is working on making the cpplib the default, so long-term, fixing cpplib will take care of C, C++, and cpp. There is reason to believe this will happen soon (by mid-year). --Per Bothner Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner