summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/cp-demangle.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index b84863200a7..9d43c0d8495 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,5 +1,10 @@
2000-09-04 Alex Samuel <samuel@codesourcery.com>
+ * cp-demangle.c (demangle_template_arg): Eat an `E' after an
+ <expression>.
+
+2000-09-04 Alex Samuel <samuel@codesourcery.com>
+
* cp-demangle.c (demangle_type_ptr): Increment position past
pointer and reference characters.
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 2407c2bdfde..e75d861645c 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -2873,6 +2873,7 @@ demangle_template_arg (dm)
/* Expression. */
advance_char (dm);
RETURN_IF_ERROR (demangle_expression (dm));
+ RETURN_IF_ERROR (demangle_char (dm, 'E'));
break;
default:
OpenPOWER on IntegriCloud