Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uflorida!ukma!rutgers!uwvax!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: defining a comment? Keywords: preprocessor,comments Message-ID: <13544@mimsy.UUCP> Date: 14 Sep 88 01:38:54 GMT References: <5438@techunix.BITNET> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 21 In article <5438@techunix.BITNET> benny@techunix.BITNET (Benny Pinkas) writes: >Can I use the Preprocessor to define a comment? >#define COM /*this is a comment*/ This is legal; it is merely useless. >or even >#define STARTCOM /* This is rather dubious. >Usually the text after the /* is considered as a comment and is not part >of the macro definition. Why should you care? You cannot (portably) view the text (if any) emitted by the preprocessor, which may well be an integral part of the compiler. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris