diff mbox

[gccgo] Change error message to match testsuite

Message ID mcr39tucrez.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Aug. 31, 2010, 11:07 p.m. UTC
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
diff mbox

Patch

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();
 	    }