]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - intl/plural.y
intl/plural.y: Avoid conflicting declarations of yyerror and yylex
[thirdparty/glibc.git] / intl / plural.y
index e02e74541c4574eba5b97a1708cfcfe81def0f38..2ee128ba01b5820d9562e6fd3d5d0b8226d5d01b 100644 (file)
 # define __gettextparse PLURAL_PARSE
 #endif
 
+/* Later we provide those prototypes.  Without these macros, bison may
+   generate its own prototypes with possible conflicts.  */
+#define YYLEX_IS_DECLARED
+#define YYERROR_IS_DECLARED
+
 %}
 %parse-param {struct parse_args *arg}
 %lex-param {struct parse_args *arg}