This is the mail archive of the gcc@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: [RFC] Extension of SIMPLE for Fortran 95


> On Monday 10 June 2002 02:14, S. Bosscher wrote:
> > So I would like to propose an extension to the SIMPLE grammar:
> > How about adding an integer argument to the 'continue' and 'break'
> > statements, that gives how many loops to break or continue from. 'continue'
> > without argument would be the "normal" continue statement, 'continue 1'
> > would contine the second-innermost loop, etc.

Supposing that Diego doesn't decide to remove break entirely,
I suggest not using a number, but rather have the break/continue
reference the tree node for the loop directly.


r~


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