Re: Bison 3.0 updates

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Bison 3.0 updates
Дата
Msg-id 53862C2A.1090605@gmx.net
обсуждение исходный текст
Ответ на Re: Bison 3.0 updates  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bison 3.0 updates
Список pgsql-hackers
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).




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Re-create dependent views on ALTER TABLE ALTER COLUMN ... TYPE?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bison 3.0 updates