Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

cube.c

  • Tom Lane's avatar
    55cbfa53
    Fix contrib/cube and contrib/seg to build with bison 3.0. · 55cbfa53
    Tom Lane authored
    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.
    55cbfa53
    History
    Fix contrib/cube and contrib/seg to build with bison 3.0.
    Tom Lane authored
    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.