This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Pragma callback to insert text in input buffer?
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hoogerbrugge <hoogerbrugge at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 18 Nov 2005 12:34:37 -0800
- Subject: Re: Pragma callback to insert text in input buffer?
- References: <BAY20-F261FDE2E1B546E6B787B0CD75E0@phx.gbl>
On Fri, Nov 18, 2005 at 02:22:16PM +0100, Jan Hoogerbrugge wrote:
> Gcc will encounter this text after the #pragma
> is handled. Is this possible?
Nope, at least not this way.
With the rewritten pragma handing on the gomp branch you have
a bit more control in the front ends about what happens when
a pragma is seen, but manipulating the input stream is not in
the cards.
r~