--- lib/intl/plural.y_orig	2019-04-15 01:07:29 +0000
+++ lib/intl/plural.y	2019-04-15 01:08:00 +0000
@@ -69,7 +69,7 @@
 						   struct expression *tbranch,
 						   struct expression *fbranch));
 static int yylex PARAMS ((YYSTYPE *lval, const char **pexp));
-static void yyerror PARAMS ((const char *str));
+static void yyerror PARAMS ((void *arg, const char *str));
 
 /* Allocation of expressions.  */

--- lib/intl/plural.y_orig      2019-04-15 00:53:08 +0000
+++ lib/intl/plural.y   2019-04-15 00:53:32 +0000


@@ -402,7 +403,8 @@


 static void
-yyerror (str)
+yyerror (arg, str)
+     void *arg;
      const char *str;
 {
   /* Do nothing.  We don't print error messages here.  */

 
--- lib/intl/plural.y_orig	2019-04-15 01:15:46 +0000
+++ lib/intl/plural.y	2019-04-15 01:16:10 +0000
@@ -45,6 +45,7 @@
 #define YYLEX_PARAM	&((struct parse_args *) arg)->cp
 #define YYPARSE_PARAM	arg
 %}
+%param {void *arg}
 %pure_parser
 %expect 7
 
