compiler: fix quoting in error message
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 10 Jun 2016 01:21:48 +0000 (01:21 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 10 Jun 2016 01:21:48 +0000 (01:21 +0000)
    Reviewed-on: https://go-review.googlesource.com/23966

From-SVN: r237286

gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc

index 8e0fd0fb63e46a546fc853a1fbf5bdf35d09930f..b812a02e28e8dd4aa9f37b6f3c49d8e6fe4ff2d0 100644 (file)
@@ -1,4 +1,4 @@
-a87af72757d9a2e4479062a459a41d4540398005
+054ff1ece3dd5888a445efeaf3ae197b16d4186f
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index da7b4e0e7884e3a0d10546a9c9b18d4978595e09..5f7e4c9c0e3f4a5fada331c3df12025b8761043c 100644 (file)
@@ -11463,7 +11463,7 @@ Selector_expression::lower_method_expression(Gogo* gogo)
 
   if (method != NULL && !is_pointer && !method->is_value_method())
     {
-      error_at(location, "method requires pointer (use %<(*%s).%s)%>",
+      error_at(location, "method requires pointer (use %<(*%s).%s%>)",
               nt->message_name().c_str(),
               Gogo::message_name(name).c_str());
       return Expression::make_error(location);