This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: What's up with the break statement?



I just submitted the PR.

(First time, I hope its understandable :)

/Fredrik

On Fri, 26 Nov 1999, Bryce McKinlay wrote:
> Fredrik Warg wrote:
> 
> > The break statement exits both for-loops (not just
> > the inner one as it should) when the outer loop body
> > is not enclosed in curly brackets.
> 
> > Adding curly brackets to the outer for-loop fixes the problem,
> > but it shouldn't be needed...
> >
> > What say The Masters?
> 
> This looks like a problem with the source parser. I just tried it on
> yesterdays gcc and this problem still exists. Would you care to file a
> PR?
> 
> http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?database=java
> 
> regards
> 
>   [ bryce ]



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