Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site callan.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!zehntel!dual!callan!tim From: tim@callan.UUCP (Tim Smith) Newsgroups: net.lang.c Subject: Re: Standardization questions -- nested comments Message-ID: <269@callan.UUCP> Date: Mon, 15-Oct-84 17:23:54 EDT Article-I.D.: callan.269 Posted: Mon Oct 15 17:23:54 1984 Date-Received: Wed, 17-Oct-84 05:29:27 EDT References: <12931@sri-arpa.UUCP> Reply-To: tim@callan.UUCP (Tim Smith) Organization: Callan Data Systems, Westlake Village, CA Lines: 26 from someone: > Has anyone considered making /* and */ nest properly, so that one could > comment out commented code?? I would like to see comments introduced by something like '##', and terminate at the end of a line. I think this is nicer looking, and it is consistent with comments in other places, such as 'make', the shells, etc. from someone else: >The best and most widely accepted way to prevent a block of code from >being compiled while still leaving the code in the file is as follows: > >#ifdef notdef But what if notdef is defined? Clearly, you want #ifdef notdef #ifndef notdef code code code code /* but I don't like code! */ wonderfull code #endif #endif This will always work! :-) -- Tim Smith ihnp4!wlbr!callan!tim or ihnp4!cithep!tim