help-bison
[Top][All Lists]
Advanced

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

Re: How to free symbols during error recovery


From: Akim Demaille
Subject: Re: How to free symbols during error recovery
Date: Fri, 08 Oct 2004 15:10:28 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

>>> "Laurence" == Laurence Finston <address@hidden> writes:

 > No, but I've been assuming that a parse error should cause error recovery
 > to be attempted, either by using the `error' token in rules, or in some
 > other way.  Please bear with me if I'm not getting your point.

I'd say no.  Error recovery in the context of Yacc means: trying to
reduce a rule with the error token.  It is quite misleading to speak
about "error recovery" in the parser with no error token, since
precisely it never recovers from parse errors.


 >> You don't seem to _need_ [%destructor], but I think you want it.

 > I certainly plan to look into using `%destructor'.  Since I only take
 > responsibility for making sure 3DLDF runs on GNU systems, I won't
 > have the problem of getting it to work on non-free ones.

Huh?  What's that new issue now :)






reply via email to

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