What's up with the break statement?
Bryce McKinlay
bryce@albatross.co.nz
Thu Nov 25 11:52:00 GMT 1999
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