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: Laurence Finston
Subject: Re: How to free symbols during error recovery
Date: Fri, 8 Oct 2004 15:15:55 +0200 (MEST)

On Fri, 8 Oct 2004, Akim Demaille wrote:

> >>> "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.
>

Thank you for explaining this.

>
>  > 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 :)
>
>
>

Not a new issue.  On Oct. 7, Oliver wrote:

  "Bison 1.875 crashs on FreeBSD and Solaris if I try to process a file
   that contains this directive."

I'd forgotten that he mentioned FreeBSD, but I still don't take
responsibility for making sure 3DLDF runs on it, although I think it
would be desirable.

Laurence




reply via email to

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