, <tech-toolchain@netbsd.org>
From: Allen D. Ball <ball@iprotium.com>
List: tech-toolchain
Date: 08/25/2002 08:48:01
On 8/25/02 12:41 AM, "der Mouse" <mouse@Rodents.Montreal.QC.CA> wrote:
>>> for "outer" (x=list; x; x=x->link) {
>>> 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) {
>> if (...) continue outer;
FWIW, this is the way Java does it.
http://java.sun.com/docs/books/jls/second_edition/html/statements.doc.html#6
842