X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=cll1.h;h=00756e3d5831a779fe786c767d995f4aea2cd60a;hb=96df7894a6fa368e5b333fc72896e30b471f5992;hp=c49fa3c2a98997bb8a92bc28c0435d36310a0c6f;hpb=24fe750d3498c33fd8651eb96f429f6591cec2d5;p=svn%2FCll1h%2F.git diff --git a/cll1.h b/cll1.h index c49fa3c..00756e3 100644 --- a/cll1.h +++ b/cll1.h @@ -159,10 +159,10 @@ extern unsigned RANDOM_SEED; #define for_input_lines(S,L) /* _NEW(CTX,get_context()) for(use_context(_CTX),STR=file_get_line(stdin);release_context(_M),(*S && !feof(stdin));STR=file_get_line(stdin)) _CATCH */ #define for_ints(VAR,...) _NEW(I,0) while( (VAR=_cll1_for_ints(_I++,__VA_ARGS__,WEIRDINT))!=WEIRDINT ) #define for_strs(VAR,...) _NEW(I,0) while( (VAR=(char *)_cll1_for_ptrs(_I++,__VA_ARGS__,NIL))!=NIL ) -#define for_args _NEW(I,1) while(_I++1) #define switch_for_args for_args switch_str(this_arg)