line comments (## vs. //)

David Herron david at ukma.UUCP
Mon Dec 3 14:47:11 AEST 1984


Mr. Tim Maroney claims that

#define wombat(x)	foo/**/x

expands to "foobar" when called with "wombat(bar)" because the
preprocessor DOESNT gobble up the comment.  The EXACT opposite
is the truth.  The preprocessor gobbles up the comment replacing
it with NOTHING.  (Another incompatibility between v7 type c compilers
and WhiteSmiths.  WhiteSmiths compiler replaces the comment above
with 1 space).

Please people <said with sparks flying> think a little before posting.
-----------------------------------------
David Herron;  ARPA: "ukma!david"@ANL-MCS   (Note the quote marks.)
UUCP:	unmvax -----------\
UUCP:	research ----------\_-_-_-_-_-_-_-_-_ anlams --\
UUCP:	boulder -----------/				>-!ukma!david
UUCP:	decvax!ucbvax ----/	cbosgd!hasmed!qusavx --/



More information about the Comp.lang.c mailing list