;+ ; NAME: ; PROFREE ; ; AUTHOR: ; Craig B. Markwardt, NASA/GSFC Code 662, Greenbelt, MD 20770 ; craigm@lheamail.gsfc.nasa.gov ; ; PURPOSE: ; Free the pointers associated with an PRODIS abstract syntax tree ; ; CALLING SEQUENCE: ; PROFREE, TREE ; ; DESCRIPTION: ; ; PROFREE frees the memory and pointers associated with an abstract ; syntax tree, as returned by PRODIS. Users should use this ; procedure when they are finished with an abstract syntax tree and ; want to release its resources. The procedure frees all pointers ; in the tree recursively. ; ; INPUTS: ; ; TREE - the abstract syntax tree to be freed. Upon return the ; contents of TREE will be undefined. ; ; ; SEE ALSO: ; ; PRODIS, PROREND, CMSAVEDIR, CMSVLIB ; ; MODIFICATION HISTORY: ; Written, 2000-2002, CM ; Documented, 19 Mar 2002, CM ; ; ; $Id: profree.pro,v 1.3 2002/03/19 21:45:02 craigm Exp $ ; ;- ; Copyright (C) 2000-2002, Craig Markwardt ; This software is provided as is without any warranty whatsoever. ; Permission to use, copy, modify, and distribute modified or ; unmodified copies is granted, provided this copyright and disclaimer ; are included unchanged. ;-