diff mbox

Go patch committed: Fix typo in error message

Message ID mcrhaoly2uc.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Nov. 19, 2012, 4:28 p.m. UTC
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
diff mbox

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)