public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Go patch committed: Fix quoting in error message
@ 2019-09-16 20:42 Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2019-09-16 20:42 UTC (permalink / raw)
  To: gcc-patches, gofrontend-dev

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

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

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 890 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-16 20:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 20:42 Go patch committed: Fix quoting in error message Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).