https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #9) > Wouldn't it be better to git mv plural.y plural.y.in and depending on bison > >= 3 or earlier just with sed tweak it (and in configure detect bison > version, or tweak it directly in configure)? > Use %lex-param/%parse-param in one case and YYLEX_PARAM/YYPARSE_PARAM. Or > any other changes needed? > Having two almost identical files is a maintainance nightmare. Agreed, tho requiring a new version wouldn't be my preference (it would break build on SLES 12 based distros for IMHO no good reason - SLES 12 uses bison 2.7). Btw, with plural.y.in we have to be careful with release tarballs and generated files in source since plural.y might then be newer than the shipped plural.c.