Next: , Previous: Parser Create Function, Up: Interface


4.5 The Parser Delete Function yystate_delete

(The current push parsing interface is experimental and may evolve. More user feedback will help to stabilize it.)

You call the function yypstate_delete to delete a parser instance. function is available if either the ‘%define api.push-pull push’ or ‘%define api.push-pull both’ declaration is used. See A Push Parser.

— Function: void yypstate_delete (yypstate *yyps)

This function will reclaim the memory associated with a parser instance. After this call, you should no longer attempt to use the parser instance.