This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new parser: error recovery needs work
Fergus Henderson wrote:-
> > > We've discussed this before. The concensus last time (as I understood it)
> > > was that alphanumeric message codes where a better alternative to message
> > > numbers. Message codes are easier to remember, more self-documenting,
> > > and avoid collisions between new warnings added on different CVS branches
> > > or in different repositories.
> >
> > I take it the idea is that the message code is similar to the text?
>
> Not really. 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.
Neil.