diff options
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/error.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index edf3b81..5b0ccbf 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 2002-05-19 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> + * error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing. + +2002-05-19 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> + PR c++/186, DR 259 * pt.c (do_decl_instantiation): Don't complain explicit instantiation after explicit specialization. diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 63b09be..5435022 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -472,7 +472,7 @@ dump_type (t, flags) case TYPEOF_TYPE: output_add_string (scratch_buffer, "__typeof ("); dump_expr (TYPE_FIELDS (t), flags & ~TFF_EXPR_IN_PARENS); - print_left_paren (scratch_buffer); + print_right_paren (scratch_buffer); break; default: |