diff options
author | Andrea Monaco <andrea.monaco@autistici.org> | 2021-12-12 10:24:28 +0100 |
---|---|---|
committer | Arjun Shankar <arjun@redhat.com> | 2021-12-22 14:46:39 +0100 |
commit | c6d7d6312c21bbcfb236d48bb7c11cedb234389f (patch) | |
tree | d925a19f712eda759ea052d9a8ba6d98c9fd419d /sysdeps | |
parent | 163f625cf9becbb82dfec63a29e566324129c0cd (diff) | |
download | glibc-c6d7d6312c21bbcfb236d48bb7c11cedb234389f.tar glibc-c6d7d6312c21bbcfb236d48bb7c11cedb234389f.tar.gz glibc-c6d7d6312c21bbcfb236d48bb7c11cedb234389f.tar.bz2 glibc-c6d7d6312c21bbcfb236d48bb7c11cedb234389f.zip |
intl/plural.y: Avoid conflicting declarations of yyerror and yylex
bison-3.8 includes these lines in the generated intl/plural.c:
#if !defined __gettexterror && !defined YYERROR_IS_DECLARED
void __gettexterror (struct parse_args *arg, const char *msg);
#endif
#if !defined __gettextlex && !defined YYLEX_IS_DECLARED
int __gettextlex (YYSTYPE *yylvalp, struct parse_args *arg);
#endif
Those default prototypes provided by bison conflict with the
declarations later on in plural.y. This patch solves the issue.
Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions