Fix typo in error message.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 21 Sep 2011 00:11:31 +0000 (00:11 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 21 Sep 2011 00:11:31 +0000 (00:11 +0000)
From-SVN: r179025

gcc/go/gofrontend/parse.cc

index bf084e046981a827154e99a15957f5c835acfc7f..b91bfbdbf030939fcc1277165983810902ef6430 100644 (file)
@@ -340,7 +340,7 @@ Parse::type_name(bool issue_error)
       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;