]> granicus.if.org Git - postgresql/commit
Revert "Fix bogus %name-prefix option syntax in all our Bison files."
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 May 2014 23:30:15 +0000 (19:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 May 2014 23:30:15 +0000 (19:30 -0400)
commit1b20c639ea89506dfc1ff8cfb5643ec4268da883
tree604dcb1becd72d90f054993a367bde5b81d6eeb2
parentddf317fe0d1ce4d1189d276a776ab18f985d1ab6
Revert "Fix bogus %name-prefix option syntax in all our Bison files."

This reverts commit ddf317fe0d1ce4d1189d276a776ab18f985d1ab6.

It turns out that the %name-prefix syntax without "=" does not work
at all in pre-2.4 Bison.  We are not prepared to make such a large
jump in minimum required Bison version just to suppress a warning
message in a version hardly any developers are using yet.
When 3.0 gets more popular, we'll figure out a way to deal with this.
In the meantime, BISONFLAGS=-Wno-deprecated is recommendable for
anyone using 3.0 who doesn't want to see the warning.
contrib/cube/cubeparse.y
contrib/seg/segparse.y
src/backend/bootstrap/bootparse.y
src/backend/parser/gram.y
src/interfaces/ecpg/preproc/ecpg.header
src/pl/plpgsql/src/gram.y