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.
This function will reclaim the memory associated with a parser instance. After this call, you should no longer attempt to use the parser instance.