From b3a77aa6ffa0186a966ad53360aa1485c783800a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 16 Sep 2019 20:41:40 +0000 Subject: [PATCH] compiler: fix quoting of //go:linkname in error message Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/195718 From-SVN: r275758 --- gcc/go/gofrontend/MERGE | 2 +- gcc/go/gofrontend/gogo.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 522d4082421..1456026ab03 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 3ff88cba1d2..e7af673c8df 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, - ("//% missing external name " + ("% missing external name " "for declaration of %s"), go_name.c_str()); else -- 2.30.2