cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, not internal_cplus_demangle.

* cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
	not internal_cplus_demangle.

From-SVN: r23570
This commit is contained in:
Mark Mitchell 1998-11-08 13:13:03 +00:00 committed by Mark Mitchell
parent 2fb044651d
commit 0e714131c8
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1998-11-08 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
not internal_cplus_demangle.
Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* choose-temp.c: Don't include gansidecl.h.

View File

@ -1436,7 +1436,12 @@ demangle_template_value_parm (work, mangled, s, tk)
char *p = xmalloc (symbol_len + 1), *q;
strncpy (p, *mangled, symbol_len);
p [symbol_len] = '\0';
q = internal_cplus_demangle (work, p);
/* We use cplus_demangle here, rather than
internal_cplus_demangle, because the name of the entity
mangled here does not make use of any of the squangling
or type-code information we have built up thus far; it is
mangled independently. */
q = cplus_demangle (p, work->options);
string_appendn (s, "&", 1);
/* FIXME: Pointer-to-member constants should get a
qualifying class name here. */