This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: resolving backslash newline whisky tango foxtrot: a proposal
- From: Michael Veksler <VEKSLER at il dot ibm dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: gcc at gcc dot gnu dot org, Joe Buck <Joe dot Buck at synopsys dot COM>
- Date: Mon, 31 Oct 2005 23:59:13 +0200
- Subject: 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