This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14875] When using 'or' keyword, the error message speaks of a '||' token
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Apr 2004 19:54:00 -0000
- Subject: [Bug c++/14875] When using 'or' keyword, the error message speaks of a '||' token
- References: <20040407115802.14875.j.werner@physik.uni-stuttgart.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-04-08 19:53 -------
Subject: Re: When using 'or' keyword, the error message speaks of a '||' token
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| The problem is that the token is already converted by the preprocessor.
| This is why the error message has the '||' token in it. So I assume there
| is not so much the compiler can do anymore, since it doesn't even get to
| see the original token.
I seem to recall that when Giovanni worked on these digraph thingies,
it was pointed out that our CPP is able to mark a pp-token whether it
is a digraph or not.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14875