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 d28eea373d4c5232550571fb1d7fc7d4f5a59a78..35904186fd13b416cf08b09c22c11433105ef983 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 6c90b1d030a7a7603a118d64af22c0e698e05759..827534c900c1acde76181f41c00904a0556685d5 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;
                }