Marcus Holland-Moritz <[EMAIL PROTECTED]> writes: > When the parser detects a stack overflow, it should call > the cleanup actions defined via %destructor for all symbols > on the stack (and the symbol causing the overflow) before > it returns.
Yes, that sounds right. Can you write and test a patch to data/yacc.c that does that? Presumably it would be some code executed just after the "parser stack overflow" message, that would call yydestruct. _______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison