Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!ima!ISM780B!jim
From: jim@ISM780B.UUCP
Newsgroups: net.lang.c
Subject: Re: Re: line comments (## vs. //)
Message-ID: <124@ISM780B.UUCP>
Date: Wed, 28-Nov-84 15:36:44 EST
Article-I.D.: ISM780B.124
Posted: Wed Nov 28 15:36:44 1984
Date-Received: Thu, 29-Nov-84 06:00:39 EST
Lines: 13
Nf-ID: #R:drutx:-146100:ISM780B:25500080:000:492
Nf-From: ISM780B!jim    Nov 27 11:33:00 1984

>Couldn't you use something like
>
>        # define // /*
>
>to accomplish this. This would also allow you to make anything else comment
>delimiters rather easy. Seems to simply of a solution, what's wrong with it????

a) // is not a legal macro name
b) /* introduces a comment even for cpp, so it can't be part of defined text
c) the desired semantics for // are different (comment terminated by newline)
   from those of /* (terminated by */)

-- Jim Balter, INTERACTIVE Systems (ima!jim)