This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: backslash whitespace newline



On Oct 24, 2005, at 3:52 PM, Neil Booth wrote:


Howard Hinnant wrote:-

I've been reviewing the age-old issue of interpreting
<whitespace>*<newline> as the end-of-line indicator as is the current
practice with gcc.

FWIW I support abandoning this behaviour too.

I filed bugzilla 24531 about this.


Haven't heard Joseph weigh in on this issue, but here are the options that I see:

a) We enable the conditional warning for line continuation in a comment at all times
(just as we do for normal lines)


b) Change the preprocessor to remove the behavior and disable the continuation
if we have a \ followed by a space


c) Do nothing.

Option c will leave us with the current behavior that I don't believe I've heard
anyone want to keep (other than it's the current documented behavior).


I'll work up a patch for b since that's what Apple would like the most. I believe that
option a is needed at least.


This is, as Mr. Buck has noted, a regression from 2.95.

-eric


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