Revert "Fix bogus %name-prefix option syntax in all our Bison files."
Tom Lane <tgl@sss.pgh.pa.us>
Revert "Fix bogus %name-prefix option syntax in all our Bison files." This reverts commit ece7aa8b0f57d92577055a88579555df895eb929. 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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/cube/cubeparse.y | modified | +1 −1 |
| contrib/seg/segparse.y | modified | +1 −1 |
| src/backend/bootstrap/bootparse.y | modified | +1 −1 |
| src/backend/parser/gram.y | modified | +1 −1 |
| src/backend/replication/repl_gram.y | modified | +1 −1 |
| src/interfaces/ecpg/preproc/ecpg.header | modified | +1 −1 |
| src/pl/plpgsql/src/pl_gram.y | modified | +1 −1 |
| src/test/isolation/specparse.y | modified | +1 −1 |