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 cs dot tamu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2007 04:11:21 -0000
- Subject: [Bug c++/14875] When using 'or' keyword, the error message speaks of a '||' token
- References: <bug-14875-8295@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from gdr at cs dot tamu dot edu 2007-01-28 04:11 -------
Subject: Re: When using 'or' keyword, the error message speaks of a '||' token
"manu at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Unless someone decides to fix the whole C++ parser error handling,
| this and PR 28152 won't be fixed.
I would refrain from sweeping generalization like the above.
Diagnostics with carret do not necessary require "fixing" the parser;
and, yet they can be implemented in a way that resolves this issue.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14875