cpplib: backslash-newline

Zack Weinberg zack@wolery.cumb.org
Sun Aug 27 10:28:00 GMT 2000

On Sun, Aug 27, 2000 at 02:34:29PM +0100, Neil Booth wrote:
> It has been requested by Zack and Per that a backslash and newline
> separated by whitespace still be treated as a backslash-newline.  This
> does that, and keeps the warning.  At the moment, a comment falls into
> the definition of "whitespace" here, but let's leave it be for the
> moment.  That'll be simpler to fix with the lexer rewrite I hope to
> start soon.

While this does hit all of the important situations that users
complain about, you haven't handled backslash space newline inside
comments or strings.  This makes the behavior inconsistent.  I don't
think we want that.

Also it should be turned off by -ansi; I'm not 100% persuaded this is
standards-conforming behavior.


More information about the Gcc-patches mailing list