Re: [vox-tech] converting comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vox-tech] converting comments
- Subject: Re: [vox-tech] converting comments
- From: Richard Cook <rcook@llMAPSnl.gov>
- Date: Mon, 13 Nov 2000 14:42:02 -0800
- References: Pine.LNX.4.21.0011130936470.2008-100000@belial.ucdavis.edu
- References: Pine.HPP.4.10.10011131343380.2180-100000@hp5.cs.ucdavis.edu
- References: 20001113141653.C18192@cowanbox.com
Micah Cowan wrote:
>
> On Mon, Nov 13, 2000 at 01:44:28PM -0800, Qinghua Zhong wrote:
> > for me, I will write a C/C++ parsor instead since I have not much awk
> > experience...
> > I think that will be easier.
> >
> > On Mon, 13 Nov 2000, Peter Jay Salzman wrote:
> >
> > > i started writing an awk script to convert C++ style comments to C, and it
> > > got messy very quickly, since i want to handle different cases very
> > > differently (inside a block, outside a function, multiline comments, etc).
>
> Technically, there is no difference between C++-style comments and
> C, since C++ comments are now a part of the new ISO/ANSI C99 specs.
Tell that to my compiler... :-)
--
opinions expressed here are not those of my employer!
email: rcook@llnl.gov Rich Cook, Mail Stop L-551 Bldg-3577
Rm-1000
http://www.llnl.gov/graphics Lawrence Livermore National Laboratory
phone (925) 423-9605 (work) 7000 East Avenue
fax (925) 423-9338 Livermore, CA 94550, USA
|