At 22:47 +0200 2005/04/28, Marcus Holland-Moritz wrote:
> So if you get a stack overflow error, what do you want to happen?
 Clearly, the parser must be taken down. You want it then to done so
 that stack cleanup takes place. Right? Possibly, the same cleanup
 actions as those in %destructor should be used.

Yes, that's exactly what I'm talking about.

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.

So then we know what you want to have. Here, I must ask Paul or Akim (who wrote the %destructor feature) help me out.
--
Hans Aberg



_______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to