Suggestion for cpp

Jonathan Biggar jonab at sdcrdcf.UUCP
Sat Feb 18 03:36:02 AEST 1984


In article <1010 at cwruecmp.UUCP> decot at cwruecmp.UUCP (Dave Decot) writes:
>So, why not two new cpp commands:
>
>    #{
>	...
>    #}
>
>which cause the preprocessor to ignore everything intervening?  I realize that
>
>    #if 0
>	...
>    #endif
>
>does the same thing, but it isn't as clear.  How about it?

Use this:

#ifdef COMMENTED_OUT_CODE
    ...
#endif

This is VERY clear and does not require modifying cpp.

Jon Biggar
{allegra,burdvax,cbosgd,hplabs,ihnp4,sdccsu3,trw-unix}!sdcrdcf!jonab



More information about the Comp.lang.c mailing list