This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using GCC as a C++ front-end.
- From: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 17 Jul 2003 12:07:54 +0200
- Subject: Re: Using GCC as a C++ front-end.
- References: <vpqbrvua1kf.fsf@ecrins.imag.fr>
On Wed, Jul 16, 2003 at 06:17:20PM +0200, Matthieu Moy wrote:
> * Is there a way to be sure the tree will not be modified after the
> call to my function ? A way to stop the treatment of this function
> at this point ? (for now, I'm still generating assembler code, which
> is totally useless !)
>
You could set the flag "flag_syntax_only" to true:
...
analysis_function ();
flag_syntax_only = 1;
...