Go patch committed: Fix quoting in error message

Message ID CAOyqgcV8nPpjioo4f4H6ggVNtBf2jYRwbjXSc1VFqT4pJBeb4w@mail.gmail.com
State New
Headers show
Series
  • Go patch committed: Fix quoting in error message
Related show

Commit Message

Ian Lance Taylor Sept. 16, 2019, 8:41 p.m.
This patch to the Go frontend fixes the quoting of //go:linkname in an
error message.  Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu.  Committed to mainline.

Ian

Patch

Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE	(revision 275700)
+++ gcc/go/gofrontend/MERGE	(working copy)
@@ -1,4 +1,4 @@ 
-5af62eda697da21155091cf5375ed9edb4639b67
+722990deeede7801e4ed3ca5d53ce312a19fcd7a
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
Index: gcc/go/gofrontend/gogo.cc
===================================================================
--- gcc/go/gofrontend/gogo.cc	(revision 275698)
+++ gcc/go/gofrontend/gogo.cc	(working copy)
@@ -2541,7 +2541,7 @@  Gogo::add_linkname(const std::string& go
     {
       if (ext_name.empty())
 	go_error_at(loc,
-		    ("//%<go:linkname%> missing external name "
+		    ("%<//go:linkname%> missing external name "
 		     "for declaration of %s"),
 		    go_name.c_str());
       else