Fix bogus %name-prefix option syntax in all our Bison files.
Tom Lane <tgl@sss.pgh.pa.us>
Fix bogus %name-prefix option syntax in all our Bison files. %name-prefix doesn't use an "=" sign according to the Bison docs, but it silently accepted one anyway, until Bison 3.0. This was originally a typo of mine in commit 012abebab1bc72043f3f670bf32e91ae4ee04bd2, and we seem to have slavishly copied the error into all the other grammar files. Per report from Vik Fearing; analysis by Peter Eisentraut. Back-patch to all active branches, since somebody might try to build a back branch with up-to-date tools.
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 |