]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing.
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Sun, 19 May 2002 11:04:37 +0000 (11:04 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Sun, 19 May 2002 11:04:37 +0000 (11:04 +0000)
From-SVN: r53624

gcc/cp/ChangeLog
gcc/cp/error.c

index c2f10520929ce58621d4748281f9a28d81be71c6..1588f4cdd93642796e20b25e5d01ff5504e2e2a8 100644 (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>
 
        PR c++/186, DR 259
index aa075ee1a640cbe024474e6991843b40fe25e1e0..8a055582271b8d7e69e2f48b9a62598b0677e112 100644 (file)
@@ -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: