> Le 7 déc. 2018 à 12:14, Bruno Haible <br...@clisp.org> 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.