Commit dbd6ec2b by Ian Lance Taylor Committed by Ian Lance Taylor

* cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.

From-SVN: r78355
parent 80a19ac8
2004-02-24 Ian Lance Taylor <ian@wasabisystems.com> 2004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
* cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
* cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
push more than one of the same CV-qualifier on the top of the push more than one of the same CV-qualifier on the top of the
stack. stack.
......
...@@ -4038,7 +4038,7 @@ __cxa_demangle (mangled_name, output_buffer, length, status) ...@@ -4038,7 +4038,7 @@ __cxa_demangle (mangled_name, output_buffer, length, status)
return NULL; return NULL;
} }
demangled = d_demangle (mangled_name, DMGL_TYPES, &alc); demangled = d_demangle (mangled_name, DMGL_PARAMS | DMGL_TYPES, &alc);
if (demangled == NULL) if (demangled == NULL)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment