Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site cmu-cs-k.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!rochester!cmu-cs-pt!cmu-cs-k!tim
From: tim@cmu-cs-k.ARPA (Tim Maroney)
Newsgroups: net.lang.c
Subject: Re: line comments (## vs. //)
Message-ID: <20980007@cmu-cs-k.ARPA>
Date: Thu, 29-Nov-84 20:16:35 EST
Article-I.D.: cmu-cs-k.20980007
Posted: Thu Nov 29 20:16:35 1984
Date-Received: Sat, 1-Dec-84 19:12:05 EST
References: <164@uwai.UUCP>
Organization: Carnegie-Mellon University, CS/RI
Lines: 22

The objection to:

#define // /*

is not that cpp will gobble the /*.  In fact, most preprocessors allow you
to do the following cute trick:

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

so that wombat(fred) expands to wombatsfred.

No; the objections are that "//" is not an identifier, and only identifiers
may be #define'd; and that it doesn't work (as has been pointed out) to give
a line commenting feature.
-- 
Tim Maroney, Carnegie-Mellon University Computation Center
ARPA:	Tim.Maroney@CMU-CS-K
uucp:	seismo!cmu-cs-k!tim (supposedly)

"Remember all ye that existence is pure joy; that all the sorrows are
but as shadows; they pass & are done; but there is that which remains."
Liber AL, II:9.