-
- Downloads
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.
Showing
- contrib/cube/cube.c 4 additions, 4 deletionscontrib/cube/cube.c
- contrib/cube/cubeparse.y 9 additions, 9 deletionscontrib/cube/cubeparse.y
- contrib/cube/cubescan.l 1 addition, 1 deletioncontrib/cube/cubescan.l
- contrib/seg/seg.c 3 additions, 3 deletionscontrib/seg/seg.c
- contrib/seg/segparse.y 35 additions, 34 deletionscontrib/seg/segparse.y
- contrib/seg/segscan.l 1 addition, 1 deletioncontrib/seg/segscan.l
Loading
Please register or sign in to comment