* error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing.

From-SVN: r53623
This commit is contained in:
Kriang Lerdsuwanakij 2002-05-19 10:58:39 +00:00 committed by Kriang Lerdsuwanakij
parent 077827189d
commit 4e664ef1fd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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> 2002-05-19 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/186, DR 259 PR c++/186, DR 259

View File

@ -472,7 +472,7 @@ dump_type (t, flags)
case TYPEOF_TYPE: case TYPEOF_TYPE:
output_add_string (scratch_buffer, "__typeof ("); output_add_string (scratch_buffer, "__typeof (");
dump_expr (TYPE_FIELDS (t), flags & ~TFF_EXPR_IN_PARENS); dump_expr (TYPE_FIELDS (t), flags & ~TFF_EXPR_IN_PARENS);
print_left_paren (scratch_buffer); print_right_paren (scratch_buffer);
break; break;
default: default: