diff options
author | DJ Delorie <dj@redhat.com> | 2004-02-25 02:04:37 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2004-02-25 02:04:37 +0000 |
commit | 099f84cfbae3923e0e38a74d792c7a9bfc38f57a (patch) | |
tree | b4e47160845206f0d51fd4e59110cdf4e028b99d /libiberty/cp-demangle.c | |
parent | 4cfcaf218cfb0fd0601725074a732689c1155e22 (diff) | |
download | gdb-099f84cfbae3923e0e38a74d792c7a9bfc38f57a.zip gdb-099f84cfbae3923e0e38a74d792c7a9bfc38f57a.tar.gz gdb-099f84cfbae3923e0e38a74d792c7a9bfc38f57a.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r-- | libiberty/cp-demangle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index 1205fcb..47ec095 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -3277,15 +3277,13 @@ d_print_comp (dpi, dc) d_print_expr_op (dpi, d_left (dc)); else { - d_append_string_constant (dpi, "(("); + d_append_char (dpi, '('); d_print_cast (dpi, d_left (dc)); d_append_char (dpi, ')'); } d_append_char (dpi, '('); d_print_comp (dpi, d_right (dc)); d_append_char (dpi, ')'); - if (d_left (dc)->type == DEMANGLE_COMPONENT_CAST) - d_append_char (dpi, ')'); return; case DEMANGLE_COMPONENT_BINARY: |