[Bug c++/14875] When using 'or' keyword, the error message speaks of a '||' token

gdr at cs dot tamu dot edu gcc-bugzilla@gcc.gnu.org
Sun Jan 28 04:11:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list