Hi, all,

in my parser, when a syntax error happens, all allocated parse tree 
nodes are left dangling, and not freed. Does anybody try and clean up 
allocated memory after parser error?
Even though it is not critical, since program terminates anyway, I'd like
to have no leaks in any case, so that leaks from the parser don't mask
leaks that happen during successful execution.
What's a good way to go about this?

thanks in advance

Alex


_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to