summaryrefslogtreecommitdiff
path: root/src/backend/parser
diff options
context:
space:
mode:
authorTom Lane2014-05-28 19:41:53 +0000
committerTom Lane2014-05-28 19:41:53 +0000
commit45b7abe59e9485657ac9380f35d2d917dd0da25b (patch)
treec9163a2a3b68a95cb7046f660d30b1847813a405 /src/backend/parser
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 'src/backend/parser')
-rw-r--r--src/backend/parser/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 7b9895d61e..c00e410377 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -169,7 +169,7 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
%pure-parser
%expect 0
-%name-prefix="base_yy"
+%name-prefix "base_yy"
%locations
%parse-param {core_yyscan_t yyscanner}