From: xchaos Date: Sun, 21 Sep 2008 10:35:25 +0000 (+0000) Subject: repeat() multiple evaluation of N argument was obsolete X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=7bbf75332a1c70ddd99484cba956d8e4df220fb2;p=svn%2FCll1h%2F.git repeat() multiple evaluation of N argument was obsolete git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@87 4bb87942-c103-4e5a-b51c-0ebff58f8515 --- diff --git a/cll1.h b/cll1.h index 00756e3..07c9189 100644 --- a/cll1.h +++ b/cll1.h @@ -151,7 +151,7 @@ extern unsigned RANDOM_SEED; / 7. C<<1 builtin iterators and conditionals, updated 2008-01-26 xCh. '----------------------------------------------------------------------- */ #define loop while(TRUE) -#define repeat(N) if(N>0) _NEW(I,0) while(_I++=TO ; FROM<=TO?VAR++:VAR--) #define for_each(NODE,HEAD) for(NODE=HEAD; NODE; NODE=NODE->__next) #define for_search(NODE,HEAD,EXPR) for_each(NODE,HEAD) if(EXPR)