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

Gary <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
Gary V. Vaughan wrote:

> 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

What can I say, except "Wow! Thanks!"?

No. Wait... Curses! Foiled again! That's for m4 version 2.0 or some
other version with new syntax, right? Well, anyway, your hello.c and so
on don't work for me :(
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.