* [gccgo] Change error message to match testsuite
@ 2010-08-31 23:15 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2010-08-31 23:15 UTC (permalink / raw)
To: gcc-patches, gofrontend-dev
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
This trivial patch changes an error message to match the message
expected by the testsuite. Usually I change the testsuite, but in this
case the testsuite message seems fine. Committed to gccgo branch.
Ian
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: testsuite --]
[-- Type: text/x-diff, Size: 405 bytes --]
diff -r 7758ec0e0667 go/parse.cc
--- a/go/parse.cc Tue Aug 31 15:51:14 2010 -0700
+++ b/go/parse.cc Tue Aug 31 16:06:12 2010 -0700
@@ -1387,7 +1387,7 @@
&& (ftype->forward_declaration_type()->named_object()
== named_type))
{
- error_at(location, "recursive type definition");
+ error_at(location, "invalid recursive type");
type = Type::make_error_type();
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-31 23:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-31 23:15 [gccgo] Change error message to match testsuite 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).