aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-09-16 20:41:40 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-09-16 20:41:40 +0000
commitb3a77aa6ffa0186a966ad53360aa1485c783800a (patch)
tree144fe867ecaf76b724598bc3964edf264c3bfb35 /gcc/go
parent1890782243521d58f62bec44e773b0ddfc20de67 (diff)
downloadgcc-b3a77aa6ffa0186a966ad53360aa1485c783800a.zip
gcc-b3a77aa6ffa0186a966ad53360aa1485c783800a.tar.gz
gcc-b3a77aa6ffa0186a966ad53360aa1485c783800a.tar.bz2
compiler: fix quoting of //go:linkname in error message
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/195718 From-SVN: r275758
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--gcc/go/gofrontend/gogo.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 522d408..1456026 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -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.
diff --git a/gcc/go/gofrontend/gogo.cc b/gcc/go/gofrontend/gogo.cc
index 3ff88cb..e7af673 100644
--- a/gcc/go/gofrontend/gogo.cc
+++ b/gcc/go/gofrontend/gogo.cc
@@ -2541,7 +2541,7 @@ Gogo::add_linkname(const std::string& go_name, bool is_exported,
{
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