help-bison
[Top][All Lists]
Advanced

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

Re: help-bison Digest, Vol 30, Issue 15


From: Steve Murphy
Subject: Re: help-bison Digest, Vol 30, Issue 15
Date: Sun, 23 Apr 2006 23:45:22 -0600

On Mon, 2006-04-24 at 01:31 -0400, Joel E. Denny wrote:
> On Sun, 23 Apr 2006, Steve Murphy wrote:
> 
> > On Sun, 2006-04-23 at 10:02 -0600, Joel Denny wrote:
...
> 
> > If the start symbol is going to be passed to yydestruct() come rain or
> > shine (if so specified in a %destructor), it might be meaningful to know
> > which it is... in other words, I haven't tried to understand the
> > algorithm, but firstly, can an error result in the start symbol being
> > tossed?
> 
> Yes, after a valid sentence, there might be extra tokens.
> 
> > If so, is there any way for yydestruct to determine whether the
> > start symbol is being tossed for Cleanup reasons, or for Error reasons?
> > (I think there could be situations where it might matter...).
> 
> I know of no reliable way.  Do you have an example where it's necessary to 
> do this?

Heavens, no! Just a theoretical question. It could be, tho, that
sometime, somewhere, somehow, somebody's going to come up with one!
After all, my name **is** Murphy, and I'm just being optimistic! ;^)

> 
> Joel





reply via email to

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