mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 13:53:03 +00:00
skeletons: make the eof token translatable if i18n is enabled
* src/output.c (has_translations): New. (prepare_symbol_names): Translate endtoken if the user already translated tokens. * examples/c/bistromathic/parse.y, src/parse-gram.y: Simplify.
This commit is contained in:
@@ -77,7 +77,7 @@ extern int gram_debug;
|
||||
# define GRAM_TOKENTYPE
|
||||
enum gram_tokentype
|
||||
{
|
||||
GRAM_EOF = 0, /* "end of file" */
|
||||
GRAM_EOF = 0, /* $end */
|
||||
GRAM_ERRCODE = 1, /* error */
|
||||
GRAM_UNDEF = 2, /* $undefined */
|
||||
STRING = 3, /* "string" */
|
||||
|
||||
Reference in New Issue
Block a user