Subject: Re: compiler tweak offered
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Alan Barrett <apb@cequrux.com>
List: tech-toolchain
Date: 08/25/2002 09:19:41
On Sat, 24 Aug 2002, der Mouse wrote:
> It provides named control structure for loops and switches, allowing
> you to do stuff like
> 
>       for "outer" (x=list; x; x=x->link) {
>               while (...) {
>                       ...
>                       if (...) continue "outer";

If I were designing new features for the C language, I'd probably
want the loop label to be just like an ordinary label, thus:

        outer:  for (x=list; x; x=x->link) {
                    while (...) {
                        ...
                        if (...) continue outer;

--apb (Alan Barrett)