This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: Patch: RFA: Fix PR java/21844


On 07 Jun 2005 08:51:13 -0600, Tom Tromey <tromey@redhat.com> wrote:
> >>>>> "Ranjit" == Ranjit Mathew <rmathew@gmail.com> writes:
> 
> Ranjit> See parse.y:8393, which is *supposed* to handle the same
> Ranjit> case. Before my patch, the "for" loop was peeking ahead
> Ranjit> and handling this case. Perhaps you can correct the look
> Ranjit> ahead at the mentioned line and retry?
> 
> My first attempt was changing that loop not to terminate as early, but
> this caused the 19870 test to fail.

I am attaching a patch that implements what I was talking
about. It fixes your testcase for PR21844 and doesn't
affect the testcase for PR19870.

The patch was bootstrapped and tested for regressions (including
Jacks) on i686-pc-linux-gnu.

OK for mainline?

Thanks,
Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/

Attachment: pr21844.txt
Description: Text document


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