Re: Process only sections of a file? (newbie)
"Gary V. Vaughan" <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Message-ID | <[email protected]> |
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/[email protected]/msg00448.html Cheers, -- Gary V. Vaughan ([email protected])
PGP.sig
(application/pgp-signature, 195 B) - not displayed