This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using GCC as a C++ front-end.


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;
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]