* error.c (dump_type): Be careful about implicit typenames.
authorGabriel Dos Reis <gdr@merlin.codesourcery.com>
Sat, 23 Mar 2002 03:17:43 +0000 (03:17 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sat, 23 Mar 2002 03:17:43 +0000 (03:17 +0000)
From-SVN: r51219

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

index 42c2e9b..dd97e04 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
+
+       * error.c (dump_type): Be careful about implicit typenames.
+
 2002-03-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
 
        PR C++/3656
index 077181f..812def9 100644 (file)
@@ -459,7 +459,8 @@ dump_type (t, flags)
       break;
     }
     case TYPENAME_TYPE:
-      output_add_string (scratch_buffer, "typename ");
+      if (!IMPLICIT_TYPENAME_P (t))
+        output_add_string (scratch_buffer, "typename ");
       dump_typename (t, flags);
       break;