This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: New Cpp not right for non-C files
- To: Anthony Thyssen <anthony at cit dot gu dot edu dot au>
- Subject: Re: New Cpp not right for non-C files
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Wed, 26 Jul 2000 20:49:19 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200007270322.NAA25921@kobold.cit.gu.edu.au>
On Thu, Jul 27, 2000 at 01:22:28PM +1000, Anthony Thyssen wrote:
> For a very long time I have been using the C-preprocessor for
> large scale documention control. EG: I create a document with
> various CPP #ifdef #endif controls so I can then use cpp to
> generate from the single source a large number of slightly different
> files. The point is a single source for all the docimentation
Sorry. The preprocessor is designed to work with C, C++, and
Objective C. We also support using it with assembly language,
Fortran, Chill, and - under protest! - Makefiles, but those are only
for backward compatibility with huge established bases of code.
Arbitrary text is most definitely not supported.
We suggest you use a real general-purpose macro preprocessor, such as
M4, instead.
zw