Eric Botcazou <[email protected]> writes:
>> This patch improves the error message that the Go frontend issues when
>> an unknown name in a package is used as type. It also fixes some
>> followon errors.
>
> s/identifer/identifier/ in the error message.
Fixed with the obvious patch. Committed to mainline. Thanks for
noticing.
Ian
diff -r b9933a6f280c go/parse.cc
--- a/go/parse.cc Tue Sep 20 15:33:25 2011 -0700
+++ b/go/parse.cc Tue Sep 20 17:09:53 2011 -0700
@@ -340,7 +340,7 @@
else
{
const std::string& packname(package->package_value()->name());
- error_at(location, "reference to undefined identifer %<%s.%s%>",
+ error_at(location, "reference to undefined identifier %<%s.%s%>",
Gogo::message_name(packname).c_str(),
Gogo::message_name(name).c_str());
issue_error = false;