This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new parser: error recovery needs work
On Thu, Jan 16, 2003 at 12:00:07PM -0800, Janis Johnson wrote:
> On Thu, Jan 16, 2003 at 02:11:05PM -0500, Phil Edwards wrote:
> > On Fri, Jan 17, 2003 at 04:08:30AM +1100, Gareth Pearce wrote:
> >
> > > or something at least. A tool which could look up
> > > the documentation just by passing it the text of an error message ... would
> > > be nice too.
> >
> > You really don't want to rely on the text of an error message not changing
> > over time. For this kind of thing to work, we need error messages to have
> > numbers (like every other compiler does, and with reason).
>
> Oooh, and with message numbers it's possible to add options to enable
> or disable individual warnings.
Exactly. :-)
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002