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: Interface for manipulating the abstract syntax tree


Ferad Zyulkyarov writes:
 > 
 > Also, having the opportunity, I would like to ask you if there is any
 > function to use for deleting a tree (most particularly a statement or
 > variable declaration tree) or it would be enough to assign it as NULL
 > (which does not seems to be a gentle solution).

Just assign it NULL.  The garbage collector does the rest.

Andrew.


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