mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 10:49:41 +08:00
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:
parent
2fb044651d
commit
0e714131c8
@ -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.
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user