diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index edf3b81a2f6..5b0ccbf4fbb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-05-19 Kriang Lerdsuwanakij + + * error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing. + 2002-05-19 Kriang Lerdsuwanakij PR c++/186, DR 259 diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 63b09bee914..5435022b78f 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: