]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
decl.c (reshape_init): Use explicit quotes in error message instead of %q.
authorMark Mitchell <mark@codesourcery.com>
Mon, 14 Feb 2005 19:00:27 +0000 (19:00 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 14 Feb 2005 19:00:27 +0000 (19:00 +0000)
* decl.c (reshape_init): Use explicit quotes in error message
instead of %q.

From-SVN: r95037

gcc/cp/ChangeLog
gcc/cp/decl.c

index 1665ce005f644edd777b6d40f1bee928fdb704c1..c3a3ec803a93bdaea5cea351d6eee4961a091fe0 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-14  Mark Mitchell  <mark@codesourcery.com>
+
+       * decl.c (reshape_init): Use explicit quotes in error message
+       instead of %q.
+       
 2005-02-12  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        PR c++/14479
index 5ccf3f85faf11939a615051a190040dabe9c63b1..e8bcead6f39c6dd0e1462bf2e1d7c09a025c30d9 100644 (file)
@@ -4447,7 +4447,7 @@ reshape_init (tree type, tree *initp)
   if (*initp)
     {
       if (brace_enclosed_p)
-       error ("too many initializers for %qT", type);
+       error ("too many initializers for `%T'", type);
       else if (warn_missing_braces)
        warning ("missing braces around initializer");
     }