This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python] Anonymous namespaces prevent some Pythonpretty-printing


On Fri, Nov 07, 2008 at 03:51:30PM -0800, Paul Pluzhnikov wrote:
> That's because
>   cp_demangled_name_to_comp("std::map<int, <unnamed>::Foo, std::less<int>, std::allocator<std::pair<const int, <unnamed>::Foo> > >", ...)
> returns NULL, with error set to "syntax error, near ..."

FWIW, there's already support for anonymous namespaces in the parser -
but it sounds like this is something that has changed in GCC
w.r.t. how anonymous namespaces are labeled.  The demangler produces
(anonymous namespace)::Foo.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]