summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Lane2014-05-28 19:41:53 +0000
committerTom Lane2014-05-28 19:41:53 +0000
commit45b7abe59e9485657ac9380f35d2d917dd0da25b (patch)
treec9163a2a3b68a95cb7046f660d30b1847813a405 /contrib
parentc0f27628d2fb53e8e5d190da2132739a2bb2f500 (diff)
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.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/cube/cubeparse.y2
-rw-r--r--contrib/seg/segparse.y2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cube/cubeparse.y b/contrib/cube/cubeparse.y
index 0baee8e1324..aa6961916e5 100644
--- a/contrib/cube/cubeparse.y
+++ b/contrib/cube/cubeparse.y
@@ -39,7 +39,7 @@ static NDBOX * write_point_as_box(char *s, int dim);
/* BISON Declarations */
%parse-param {NDBOX **result}
%expect 0
-%name-prefix="cube_yy"
+%name-prefix "cube_yy"
%token CUBEFLOAT O_PAREN C_PAREN O_BRACKET C_BRACKET COMMA
%start box
diff --git a/contrib/seg/segparse.y b/contrib/seg/segparse.y
index 3fad9910bd5..2311c1e63c0 100644
--- a/contrib/seg/segparse.y
+++ b/contrib/seg/segparse.y
@@ -42,7 +42,7 @@ static char strbuf[25] = {
/* BISON Declarations */
%parse-param {SEG *result}
%expect 0
-%name-prefix="seg_yy"
+%name-prefix "seg_yy"
%union {
struct BND {