bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: %destructor and stack overflow


From: Paul Eggert
Subject: Re: %destructor and stack overflow
Date: Thu, 28 Apr 2005 22:46:21 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Marcus Holland-Moritz <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]