Re: Any basic cpp capability m4 cannot do?

"Raphael 'kena' Poss" <[email protected]> Thu, 08 May 2014 08:36:17 +0200
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
Hi Daniel,

You may want to check cpp's ability with # to turn an arbitrary enclosed sequence of C tokens into a single C string that is properly quoted. Especially if said sequence already contains strings. This I found relatively difficult to imitate with m4.

Best,

On 8 mei 2014 02:49:30 CEST, Daniel Goldman <[email protected]> wrote:
>My analysis suggests cpp and m4 share some 10 basic (non-trivial) 
>capabilities, and m4 has some 15 basic capabilities that cpp cannot do.
>
>Examples of "basic capabilities" are: comment, define a macro, include
>a 
>file, execute a system command, increment a number, etc.
>
>My question: Can anyone suggest some basic capability cpp can do that
>m4 
>cannot? Especially in the context of pre-processing C code.
>
>I'm trying to anticipate what might happen on the next step of a 
>conversion process, to anticipate something special cpp maybe does I've
>
>overlooked.
>
>Thanks,
>Daniel

-- 
Verzonden van mijn Android telefoon met K-9 Mail.