This is the mail archive of the
mailing list for the GCC project.
Re: Changes to gcc 3.x to invoke an external cpp
>>>>> "Zack" == Zack Weinberg <firstname.lastname@example.org> writes:
> For instance, cpplib could easily be modified to permit insertion of a
> user-supplied filter routine between itself and the C/C++
> parser. It's
this would be cool-- could this work for the FE extensions discussed
to death in the last weeks?
> quite possible that you could rewrite your program to use such a
> filter instead of operating on the textual preprocessor output.
> (You'd be linking your code into GCC, so it would have to be GPLed,
> which may or may not be a show-stopper for you.)