Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!voder!wlbr!mh From: mh@wlbr.EATON.COM (Mike Hoegeman) Newsgroups: comp.lang.c Subject: Re: defining a comment? Keywords: preprocessor,comments Message-ID: <23345@wlbr.EATON.COM> Date: 18 Sep 88 18:25:27 GMT References: <5438@techunix.BITNET> <13544@mimsy.UUCP> <779@proxftl.UUCP> <13604@mimsy.UUCP> <3999@bsu-cs.UUCP> Reply-To: mh@wlbr.eaton.com.UUCP (Mike Hoegeman) Organization: Eaton IMSD, Westlake Village, CA Lines: 30 In article <3999@bsu-cs.UUCP> dhesi@bsu-cs.UUCP (Rahul Dhesi) writes: >In article <13604@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: >> COMMENT >> text to be commented out >> TNEMMOC >> code >>which of course does not work. >Well...this may be just nitpicking, but: > #define COMMENT "/*" > #define TNEMMOC "*/" > COMMENT > text to be commented out > TNEMMOC /* sdrawkcab "tnemmoc" tsuj si siht */ > c code >Then use the preprocessor *twice* and you get > c code >Which is now ready for compilation. Maybe I'm missing something here but what the h*ll is wrong with plain old /******** ********/ Sheesh!! -mike