What's up with the break statement?
Fredrik Warg
warg@ce.chalmers.se
Thu Nov 25 13:11:00 GMT 1999
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 ]
More information about the Java
mailing list