aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorAndrea Monaco <andrea.monaco@autistici.org>2021-12-12 10:24:28 +0100
committerArjun Shankar <arjun@redhat.com>2021-12-23 13:48:04 +0100
commit41fddc064ded5c9a36d8ffaad59a85407a22a535 (patch)
tree2094161f7ecb037472f147a4bd3fff26e184853a /scripts/cpp
parent8ad6d6d8ed33631bd2ca5d1112e6da2f92731432 (diff)
downloadglibc-41fddc064ded5c9a36d8ffaad59a85407a22a535.tar.xz
glibc-41fddc064ded5c9a36d8ffaad59a85407a22a535.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> (cherry picked from commit c6d7d6312c21bbcfb236d48bb7c11cedb234389f)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions