From: Kriang Lerdsuwanakij Date: Sun, 19 May 2002 11:04:37 +0000 (+0000) Subject: * error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing. X-Git-Tag: releases/gcc-3.1.1~320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2a02ca1bfc2d92bb3d669d2b27b491c4b97a4c4;p=thirdparty%2Fgcc.git * error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing. From-SVN: r53624 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c2f10520929c..1588f4cdd936 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 aa075ee1a640..8a055582271b 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -474,7 +474,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: