git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 626092a) | patch
Fix contrib/cube and contrib/seg to build with bison 3.0.
2013年7月29日 14:42:37 +0000 (10:42 -0400)
2013年7月29日 14:42:37 +0000 (10:42 -0400)
commit 55cbfa5366b78d93cd1ff8c4c622b552985344f6
Fix contrib/cube and contrib/seg to build with bison 3.0.

These modules used the YYPARSE_PARAM macro, which has been deprecated
by the bison folk since 1.875, and which they finally removed in 3.0.
Adjust the code to use the replacement facility, %parse-param, which
is a much better solution anyway since it allows specification of the
type of the extra parser parameter. We can thus get rid of a lot of
unsightly casting.

Back-patch to all active branches, since somebody might try to build
a back branch with up-to-date tools.
contrib/cube/cube.c diff | blob | blame | history
contrib/cube/cubeparse.y diff | blob | blame | history
contrib/cube/cubescan.l diff | blob | blame | history
contrib/seg/seg.c diff | blob | blame | history
contrib/seg/segparse.y diff | blob | blame | history
contrib/seg/segscan.l diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /