This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: backslash-newline, trigraphs, and the C standard
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: backslash-newline, trigraphs, and the C standard
- From: Dave Brolley <brolley at cygnus dot com>
- Date: Thu, 13 Jan 2000 15:58:11 -0500
- CC: Joe Buck <jbuck at synopsys dot COM>, Geoff Keating <geoffk at cygnus dot com>, Zack Weinberg <zack at wolery dot cumb dot org>, gcc at gcc dot gnu dot org
- Organization: Red Hat
- References: <200001132044.UAA30075@phal.cygnus.co.uk>
Joern Rennecke wrote:
>
> > With trigraphs on, this is
> >
> > /* some comment \*/
> >
> > so the comment is not ended. Can anyone come up with any other cases?
>
> But it is ended! \* is just like *.
>
Nope....except for line continuation, backslash is only an escape
character inside string literals and char literals.
Dave