Re: Bison 3.0 updates

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Bison 3.0 updates
Date: 2014-05-28 18:34:18
Message-ID: 53862C2A.1090605@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: buildfarm-members pgsql-hackers

On 5/21/14, 12:29 PM, Tom Lane wrote:
> Vik Fearing <vik(dot)fearing(at)dalibo(dot)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).

In response to

Responses

Browse buildfarm-members by date

  From Date Subject
Next Message Tom Lane 2014-05-28 18:43:52 Re: Bison 3.0 updates
Previous Message Josh Kupershmidt 2014-05-28 02:07:45 Re: [Pgbuildfarm-members] PG buildfarm coverage needed for new uuid code

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-05-28 18:43:52 Re: Bison 3.0 updates
Previous Message Stephen Frost 2014-05-28 18:16:48 Re: Re-create dependent views on ALTER TABLE ALTER COLUMN ... TYPE?