Patchwork Go patch committed: Fix typo in error message

login
register
mail settings
Submitter Ian Taylor
Date Nov. 19, 2012, 4:28 p.m.
Message ID <mcrhaoly2uc.fsf@google.com>
Download mbox | patch
Permalink /patch/200043/
State New
Headers show

Comments

Ian Taylor - Nov. 19, 2012, 4:28 p.m.
In PR 53764 Roland Stigge points out a typo in an error message in the
Go frontend.  This patch fixes it.  Bootstrapped on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

Patch

diff -r 30a5084faeb6 go/parse.cc
--- a/go/parse.cc	Sun Nov 18 21:33:28 2012 -0800
+++ b/go/parse.cc	Mon Nov 19 08:25:46 2012 -0800
@@ -2941,7 +2941,7 @@ 
 	      if (t->named_type() != NULL
 		  || t->forward_declaration_type() != NULL)
 		error_at(start_loc,
-			 _("parentheses required around this composite literal"
+			 _("parentheses required around this composite literal "
 			   "to avoid parsing ambiguity"));
 	    }
 	  else if (is_parenthesized)