summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-07-14 12:16:52 -0400
committerJason Merrill <jason@gcc.gnu.org>1998-07-14 12:16:52 -0400
commit4d59ab3fda15c20f748be8d983d34c97c0caf900 (patch)
tree6d210e7644dc99d2bc7014ab5e62d6cd8221299d /libiberty
parent284280b5f9f082d0ecdfe52215c20f040c4861be (diff)
downloadgcc-4d59ab3fda15c20f748be8d983d34c97c0caf900.tar.gz
tweak formatting
From-SVN: r21145
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/cplus-dem.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index c754734f077..62a7b4ec4ed 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -1,5 +1,5 @@
/* Demangler for GNU C++
- Copyright 1989, 1991, 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright 1989, 91, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.uucp)
Rewritten by Fred Fish (fnf@cygnus.com) for ARM and Lucid demangling
@@ -925,7 +925,8 @@ demangle_signature (work, mangled, declp)
{
remember_type (work, oldmangled, *mangled - oldmangled);
}
- string_append(&tname, SCOPE_STRING (work));
+ string_append (&tname, SCOPE_STRING (work));
+
string_prepends(declp, &tname);
if (work -> destructor & 1)
{
@@ -1592,9 +1593,11 @@ demangle_template (work, mangled, tname, trawname, is_type, remember)
}
need_comma = 1;
}
+ {
if (tname->p[-1] == '>')
string_append (tname, " ");
string_append (tname, ">");
+ }
if (is_type && remember)
remember_Btype (work, tname->b, LEN_STRING (tname), bindex);