Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site gitpyr.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!gatech!gitpyr!robert
From: robert@gitpyr.UUCP (Robert Viduya)
Newsgroups: net.lang.c
Subject: Re: line comments (## vs. //)
Message-ID: <386@gitpyr.UUCP>
Date: Wed, 28-Nov-84 09:37:36 EST
Article-I.D.: gitpyr.386
Posted: Wed Nov 28 09:37:36 1984
Date-Received: Fri, 30-Nov-84 04:37:18 EST
References: <5367@brl-tgr.UUCP> <7200003@hpdsa.UUCP> <271@ukma.UUCP> <423@kcl-cs.UUCP> <226@desint.UUCP>
Organization: Georgia Tech, Atlanta
Lines: 21

[]
An even better idea is to incorporate pattern matching into the C preprocessor.
That way you could define your line comments as:

	#define '##\(.*\)$' '/* \1 */'

or

	#define '//\(.*\)$' '/* \1 */'


				robert

-- 
Robert Viduya
Office of Computing Services
Georgia Institute of Technology, Atlanta GA 30332
Phone:  (404) 894-4669

...!{akgua,allegra,amd,hplabs,ihnp4,masscomp,ut-ngp}!gatech!gitpyr!robert
...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally}!gatech!gitpyr!robert