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 18-Jan-2003, Neil Booth <neil@daikokuya.co.uk> wrote:
> Fergus Henderson wrote:-
> >
> > The message code is a name for the message.
> > Usually it should be a lot shorter than the message.
> > Unlike the message, it does not contain any varying parts.
>
> I see. Could you give an example or two? Thanks.
Well, as someone else already mentioned, many warnings already have
names which are used in `-W<NAME>' or `-Wno-<NAME>' options,
e.g. -Wimplicit-function-declarations and -Wno-import.
Names for other warnings which do not yet have names
would be in a similar style.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.