From patchwork Mon Nov 19 16:28:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Go patch committed: Fix typo in error message Date: Mon, 19 Nov 2012 06:28:11 -0000 From: Ian Taylor X-Patchwork-Id: 200043 Message-Id: To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com 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 -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)