m4-discuss
[Top][All Lists]
Advanced

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

Re: Process only sections of a file? (newbie)


From: Gary V. Vaughan
Subject: Re: Process only sections of a file? (newbie)
Date: Mon, 20 Sep 2010 17:20:35 +0700

Hi Gary,

On 20 Sep 2010, at 16:16, Gary wrote:
> What I am basically trying to do is replace gpp -
> http://en.nothingisreal.com/wiki/GPP (which works fine, btw, but seems
> to lack any kind of support or ongoing development) - with m4, for the
> purpose of building php scripts from smaller, self-contained,
> "chunks". To make sure I don't include the same code twice, each chunk's
> file uses a typical C/C++ -like guard:
> ,----
> | #ifndef FOO
> | #define FOO
> | /*
> | php code
> | */
> | #endif
> `----

You might find some hints in the old article I posted here a few weeks
ago:

  http://www.mail-archive.com/address@hidden/msg00448.html

Cheers,
-- 
Gary V. Vaughan (address@hidden)

Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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