On 5/21/14, 12:29 PM, Tom Lane wrote:
> Vik Fearing <vik.fearing@dalibo.com> writes:
>> I'm getting some more of these, including some I thought you had fixed.
>> Bison 3.0.2 on current head.
>
> I didn't do anything to suppress those warnings:
>
>> gram.y:172.1-13: warning: deprecated directive, use ‘%name-prefix’
>> [-Wdeprecated]
>> %name-prefix="base_yy"
>> ^^^^^^^^^^^^^
>
> because it's hard to see how that's anything but a bison bug.
What they want is that you use
%name-prefix "base_yy"
instead of
%name-prefix="base_yy"
That makes the warning go away.
The %something=something syntax is not documented anywhere, so it looks
like it worked more or less by accident. We don't use it anywhere else
either (e.g. %expect 0, not %expect=0).