bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancement request


From: Dave Yost
Subject: Re: Enhancement request
Date: Fri, 26 Mar 2004 11:44:46 -0800

At 1:23 PM +0000 2004-03-26, Gary V. Vaughan wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Dave Yost wrote:
>| The changecom macro is not enough.  To parse C, we need 2 kinds of
>comments.. /* */ amnd //.  Actually, if anyone does work on this, it would be
>good to be able to define nesting comments as well.
>|
>| I think it would be useful if you extended changecom to be
>|
>|   changecom(opt start1, opt end1, opt isNesting, ...)
>
>Now that the module api for CVS m4 has stabilized somewhat, why don't you have
>a go at writing a C module to implement the semantics you need?
>
>I suspect that what you want reaches deeper into the internals of m4 than the
>module api allows, but if you find anything of that nature do post back here,
>and I'll try and work something out before 2.0 is set free.

Thanks for the invite, but my use of m4 was fleeting, and the macro set I wrote 
is able to limp along with only the /* */ comments.

I'm using m4 as an alternative preprocessor to gcc -E because gcc -E mucks with 
spacing, and m4 does not.

Thanks

Dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]