This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Next round of new demangler patches


mec.gnu@mindspring.com (Michael Elizabeth Chastain) writes:

> The DMGL_VERBOSE condition is a bit creepy.  With the old demangler,
> DMGL_VERBOSE meant "print stuff like "[in-charge]" which are obviously
> internal annotations to the demangled name".  Now it also means "select
> between different legal C++ constructs, one longer, one shorter".
> I'm concerned about that.

Using DMGL_VERBOSE meant both with the old demangler.  I was planning
on having the new demangler eventually print the stuff like
"[in-charge]" too.

But I'm not wedded to any particular approach here.  I only included
that in the patch because that is how the old demangler worked.  If
anybody has a better suggestion for handling DMGL_VERBOSE, I'm happy
to hear it.

Ian


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