On Sat, 29 Sep 2007, Sebastian Pipping wrote: > I noticed two things with %prefix when combined > with a C++ parser that might be bugs: > > > (1) %prefix=abc renames function yylex to "abclex" > instead of putting it in namespace abc.
You can write: %name-prefix="abc::" %define "namespace" "abc" This usage is not documented. > (2) Nested namespaces do not work: > %prefix=abc::def should give > > namespace abc { > namespace def { > .. > } > } > > instead of > > namespace abc::def { > .. > } > > I guess? > > > Is this known and planned to fix? It does need to be fixed. Thanks for reporting it. _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison