repeat() multiple evaluation of N argument was obsolete
authorxchaos <xchaos@4bb87942-c103-4e5a-b51c-0ebff58f8515>
Sun, 21 Sep 2008 10:35:25 +0000 (10:35 +0000)
committerxchaos <xchaos@4bb87942-c103-4e5a-b51c-0ebff58f8515>
Sun, 21 Sep 2008 10:35:25 +0000 (10:35 +0000)
git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@87 4bb87942-c103-4e5a-b51c-0ebff58f8515

cll1.h

diff --git a/cll1.h b/cll1.h
index 00756e3d5831a779fe786c767d995f4aea2cd60a..07c918993c0c32fff03977e56aec9929ab49b545 100644 (file)
--- 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++<N)
+#define repeat(N) _NEW(I,0) while(_I++<N)
 #define for_range(VAR,FROM,TO) for( VAR=FROM ; FROM<=TO?VAR<=TO:VAR>=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)
This page took 0.184639 seconds and 4 git commands to generate.