Index: ChangeLog from Akim Demaille * tests/local.at (_AT_BISON_OPTION_PUSHDEFS): Fix the definition of AT_NAME_PREFIX when %name-prefix is not used. +2006-03-12 Akim Demaille + Apply --prefix to C++ skeletons too: they change the namespace. The test suite already exercize these cases. * data/c++.m4 (b4_namespace): New. Index: tests/local.at =================================================================== RCS file: /cvsroot/bison/bison/tests/local.at,v retrieving revision 1.15 diff -u -r1.15 local.at --- tests/local.at 12 Mar 2006 14:45:27 -0000 1.15 +++ tests/local.at 12 Mar 2006 15:23:33 -0000 @@ -64,7 +64,9 @@ m4_pushdef([AT_GLR_OR_PARAM_IF], [m4_bmatch([$3], [%glr-parser\|%parse-param], [$1], [$2])]) m4_pushdef([AT_NAME_PREFIX], -[m4_bregexp([$3], [name-prefix="\([^"]*\)"], [\1])]) +[m4_bmatch([$3], [%name-prefix=".*"], + [m4_bregexp([$3], [name-prefix="\([^"]*\)"], [\1])], + [yy])]) # yyerror receives the location if %location & %pure & (%glr or %parse-param). m4_pushdef([AT_YYERROR_ARG_LOC_IF], [AT_GLR_OR_PARAM_IF([AT_PURE_AND_LOC_IF([$1], [$2])],