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: Akim Demaille
Subject: Re: bison: don't force the Yacc mode
Date: Fri, 7 Dec 2018 12:21:38 +0100


> Le 7 déc. 2018 à 12:14, Bruno Haible <address@hidden> a écrit :
> 
> 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.

In 3.0 only some rather uncommon directives triggered the
warning.  The most used ones were left out on purpose, to leave
some time for the changes in Autoconf to became more widely
spread.  I wanted to spare Bison's users to have deal with this.

The recent change is about more common ones.


reply via email to

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