aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@cygnus.com>1998-04-27 12:59:51 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>1998-04-27 12:59:51 +0000
commit07623417034f67b6785c10a2ccfd64fbb90e9710 (patch)
tree2c8cd2b69b2ac584a8f93e983bb04e92e7e42aff /libiberty
parent97d6fd65f38691885064d23587deb009009dd909 (diff)
downloadgcc-07623417034f67b6785c10a2ccfd64fbb90e9710.zip
gcc-07623417034f67b6785c10a2ccfd64fbb90e9710.tar.gz
gcc-07623417034f67b6785c10a2ccfd64fbb90e9710.tar.bz2
cplus-dem.c (demangle_qualified): Add a missing else which caused qualified...
cplus-dem.c (demangle_qualified): Add a missing else which caused qualified names with temp,lates to be demangled improperly. From-SVN: r19433
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/cplus-dem.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 1b98c559..b0d5189 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
+
+ * cplus-dem.c (demangle_qualified): Replace missing else.
+
Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index 21e3b6e..266a112 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -2324,7 +2324,7 @@ demangle_qualified (work, mangled, result, isfuncname, append)
success = do_type (work, mangled, &temp);
if (!success) break;
}
- if (*mangled[0] == 'K')
+ else if (*mangled[0] == 'K')
{
int idx;
(*mangled)++;