This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH for 3.4, committed] Fix PR9188


On Thu, 6 Mar 2003, Kriang Lerdsuwanakij wrote:

> I committed an obvious patch regarding to error message displayed
> during parsing.  As reported in PR9188, we sometimes emit
> diagnostics like
> 
> 	error: expected expected `;'
> 
> where the word `expected' appears twice in the message.

Why haven't you added a testcase for this?  Patches need either testcases,
or justification for their absence (especially in cases like this where it
looks like a testcase ought to be easy, using dg-bogus "expected
expected").

-- 
Joseph S. Myers
jsm28 at cam dot ac dot uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]