This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]