From 45b7abe59e9485657ac9380f35d2d917dd0da25b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 28 May 2014 15:41:53 -0400 Subject: 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. --- contrib/cube/cubeparse.y | 2 +- contrib/seg/segparse.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') 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 { -- cgit v1.2.3