1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Fix bison warning

src/parser.y:63.1-25: warning: deprecated directive, use '%define api.prefix {plproxy_yy}' [-Wdeprecated]
   63 | %name-prefix="plproxy_yy"
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-08-19 20:51:06 +00:00
parent b17911c0da
commit 16527ab779
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509332

View File

@ -0,0 +1,11 @@
--- src/parser.y.orig 2017-10-08 08:53:35 UTC
+++ src/parser.y
@@ -60,7 +60,7 @@ static void reset_parser_vars(void)
* same range of Bison versions that are supported also
* by PostgreSQL.
*/
-%name-prefix="plproxy_yy"
+%define api.prefix {plproxy_yy}
%token <str> CONNECT CLUSTER RUN ON ALL ANY SELECT
%token <str> IDENT NUMBER FNCALL SPLIT STRING