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: resolving backslash newline whisky tango foxtrot: a proposal





Per Bothner wrote on 31/10/2005 23:12:02:
> Joe Buck wrote:
> > So you want the compiler to only consider '\\$" a continuation,
>
> Not my preference, but that is my proposal, in the interest
> of compatibility.
     ^^^^^^^^^^^^^

Compatibility is not an absolute in this case. The two
opposite options boast compatibility with something.

Compatibility with gcc-3.x, gcc-4.0, xlc[5-7] and terminal
emulators means that you should keep today's '\\[\t ]*$'
continuation rule.

Please note that I just wrote that IBM's xlC is compatible
with gcc-4.0 in this regard.

However, copatibility with most other compilers means
that only '\\$' is to be considered a continuation.

Both ways are compatible with the standard.

   Michael


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