Add missing space to diagnostic in reshape_init_r.
authorMarek Polacek <polacek@redhat.com>
Thu, 24 Oct 2019 17:22:27 +0000 (17:22 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 24 Oct 2019 17:22:27 +0000 (17:22 +0000)
* decl.c (reshape_init_r): Add missing space.

From-SVN: r277419

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

index d28eea3..3590418 100644 (file)
@@ -1,3 +1,7 @@
+2019-10-24  Marek Polacek  <polacek@redhat.com>
+
+       * decl.c (reshape_init_r): Add missing space.
+
 2019-10-24  Nathan Sidwell  <nathan@acm.org>
 
        * pt.c (reduce_template_parm_level): Attach the new TPI to the new
index 6c90b1d..827534c 100644 (file)
@@ -6239,7 +6239,7 @@ reshape_init_r (tree type, reshape_iter *d, bool first_initializer_p,
                               (CONSTRUCTOR_ELT (stripped_init,0)->value))))
                {
                  if (complain & tf_error)
-                   error ("too many braces around scalar initializer"
+                   error ("too many braces around scalar initializer "
                           "for type %qT", type);
                  init = error_mark_node;
                }