This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new parser: error recovery needs work
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Gareth Pearce <tilps at hotmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: 18 Jan 2003 08:58:45 +0100
- Subject: Re: new parser: error recovery needs work
- Organization: Integrable Solutions
- References: <103940000.1042747818@warlock.codesourcery.com>
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