MCPcopy Create free account
hub / github.com/boostorg/build / parse_free

Function parse_free

src/engine/parse.cpp:127–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126
127void parse_free( PARSE * p )
128{
129 if ( --p->refs )
130 return;
131
132 if ( p->string )
133 object_free( p->string );
134 if ( p->string1 )
135 object_free( p->string1 );
136 if ( p->left )
137 parse_free( p->left );
138 if ( p->right )
139 parse_free( p->right );
140 if ( p->third )
141 parse_free( p->third );
142 if ( p->rulename )
143 object_free( p->rulename );
144 if ( p->file )
145 object_free( p->file );
146
147 BJAM_FREE( (char *)p );
148}

Callers 1

parse_implFunction · 0.85

Calls 1

object_freeFunction · 0.85

Tested by

no test coverage detected