From 086367cd7a4af8621dffd0a694348f4e52fe1c65 Mon Sep 17 00:00:00 2001 From: xchaos Date: Tue, 8 Jan 2008 02:00:40 +0000 Subject: [PATCH] cleanup git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@7 4bb87942-c103-4e5a-b51c-0ebff58f8515 --- cll1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cll1.h b/cll1.h index cb66f6f..0ce6ba0 100644 --- a/cll1.h +++ b/cll1.h @@ -59,7 +59,7 @@ /* ------------------------------------------------------------------- */ #define loop while(TRUE) #define repeat(N) if(N>0) _NEW_I for_range(_I,1,N) -#define for_range(VAR,FROM,TO) for( VAR=FROM ; FROM<=TO?(VAR<=TO):(VAR>=TO) ; FROM<=TO?(VAR++):(VAR--)) +#define for_range(VAR,FROM,TO) for( VAR=FROM ; FROM<=TO?VAR<=TO:VAR>=TO ; FROM<=TO?VAR++:VAR--) #define for_each(A,B) for(A=B; A; A=A->_next) #define for_search(A,B,C) for_each(A,B) if(C) /*to do: #define for_file_lines(STR,F) _NEW_F for() */ -- 2.30.2