This is the mail archive of the gcc@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]

Re: new parser: error recovery needs work


Mark Mitchell <mark@codesourcery.com> writes:

| > Second thought, the error messages of the form 'expected type-id' etc ...
| > are compact and precise.  Something in me would like 'waffly friendly'
| 
| I thought about this, and I intentionally went for more technical error
| messages.  I often find G++'s error messages confusing because of their
| wafflyness -- I think "what on earth does that mean?"  G++ has a bad
| tendency to make up terms that aren't in the standard or even in common
| usage in the C++ community.  By using technical terms, at least people
| can consult a reference book to figure out what's going on.

I believe that you made a good technical decision for that issue.

| You're also right that better documentation about the various error
| messages -- and better error messages! -- would help.

Definitely.

-- Gaby


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