bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: i18n for yacc backend messages


From: Hans Aberg
Subject: Re: i18n for yacc backend messages
Date: Thu, 14 Apr 2005 14:54:56 +0200

At 13:56 +0200 2005/04/14, Jan Nieuwenhuizen wrote:
Paul Eggert writes:

 OK, but why can't you use the token name '\drums' instead of 'DRUMS'?  E.g.,
 something like this:

 > %token DRUMS "\\drums"

I'll look into this.  Still, we have tokens like 'new_lyrics',
'directionless_char', and sequences like STRING, string,
simple_string.


... it's only for error reporting, as far as my wishes go.

If one writes as Paul suggested, two things happens: "\\drums" will be used in error messages. And further, "\\drums" can be used in the grammar. I think there is a suggestion to improve error messages output even further, not having this coupling of the two uses.
--
  Hans Aberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]