bug-gnulib
[Top][All Lists]
Advanced

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

Re: bison: don't force the Yacc mode


From: Bruno Haible
Subject: Re: bison: don't force the Yacc mode
Date: Fri, 07 Dec 2018 12:14:08 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-138-generic; KDE/5.18.0; x86_64; ; )

Hi Akim,

> 'bison -y' triggers warnings for Bison extensions.

Why am I not seeing such warnings with bison 3.0.4 in GNU gettext?

$ make ../../../gettext-runtime/intl/plural.c
bison -y -d --name-prefix=__gettext --output plural.c 
../../../gettext-runtime/intl/plural.y \
&& sed -e 's|".*/plural.y"|"plural.y"|' < plural.c > plural.c-tmp \
&& rm -f plural.c plural.h \
&& mv plural.c-tmp ../../../gettext-runtime/intl/plural.c

No warnings seen in this case, although gettext-runtime/intl/plural.y uses
Bison extensions.

Bruno




reply via email to

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