bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext-0.12.1 msgfmt (built with bison 1.875) cannot read .po files


From: Bruno Haible
Subject: Re: gettext-0.12.1 msgfmt (built with bison 1.875) cannot read .po files
Date: Mon, 15 Sep 2003 19:11:04 +0200
User-agent: KMail/1.5

Alexander Dupuy wrote:
> When building GNU gettext using bison 1.875, there is an inconsistency in
> the token values between gettext-tools/src/po-gram-gen2.h and the
> po-gram-gen.h that bison creates from po-gram-gen.y.

There is a Makefile rule for generating po-gram-gen2.h from po-gram-gen.h.
Why is this rule not being executed on your machine when you do "make"?

> --- po-gram-gen.y.~1.1.1.1~     Mon Sep 15 10:43:39 2003
> +++ po-gram-gen.y       Fri Sep 12 21:09:30 2003
> @@ -109,16 +109,16 @@
>
>  %}
>
> -%token COMMENT
> -%token DOMAIN
> -%token JUNK
> -%token MSGID
> -%token MSGID_PLURAL
> -%token MSGSTR
> -%token NAME
> +%token COMMENT 257
> +%token DOMAIN  258
> +%token JUNK    259
> +%token MSGID   260
> +%token MSGID_PLURAL    261
> +%token MSGSTR  262
> +%token NAME    263
>  %token '[' ']'
> -%token NUMBER
> -%token STRING
> +%token NUMBER  264
> +%token STRING  265
>
>  %union
>  {

This is horrible.

Bruno





reply via email to

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