test: protect more yacc declarations against C vs. C++ linkage.
commitefb9f7b298cc45e0663874b34379f618b092f2fd
authorBogdan <bogdro_rep@gmx.us>
Wed, 7 Feb 2024 22:56:25 +0000 (7 14:56 -0800)
committerKarl Berry <karl@freefriends.org>
Wed, 7 Feb 2024 22:56:25 +0000 (7 14:56 -0800)
treea14c819050e3e935bcaae6f24731ad9aeeae7701
parent70127e61e78de4b3c80a84bcb3c6f2328329ccc4
test: protect more yacc declarations against C vs. C++ linkage.

Fix for more of https://bugs.gnu.org/68832.

* t/yacc-clean-cxx.sh: more #ifdef of yylex, etc., following
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62886,
now for OpenIndiana. Specifically:
#if (defined __cplusplus) && ((!defined __sun) || (defined __EXTERN_C__))
* t/yacc-cxx.sh: likewise.
* t/yacc-d-cxx.sh: likewise.
* t/yacc-mix-c-cxx.sh: likewise.
t/yacc-clean-cxx.sh
t/yacc-cxx.sh
t/yacc-d-cxx.sh
t/yacc-mix-c-cxx.sh