[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %destructor feedback
From: |
Paul Eggert |
Subject: |
Re: %destructor feedback |
Date: |
Tue, 18 Oct 2005 13:38:19 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Joel E. Denny" <address@hidden> writes:
> I prefer that the clean-up *not* happen automatically for either
> YYABORT or YYERROR -- as in GLR parsing.
Yes, that sounds more flexible.
> If this is implemented, I believe that it should be implemented
> consistently for all three cases: the user's semantic action completes
> successfully, it calls YYABORT, or it calls YYERROR.
Yes, that sounds right to me as well.
> In other words, if you have an action that does nothing but invoke
> YYABORT/YYERROR, clean-up would be automatic.
This sounds a little tricky to explain and/or implement; wouldn't it
be better to stick with the simpler rules? Perhaps I'm missing
something....
- Re: %destructor feedback, Joel E. Denny, 2005/10/17
- Re: %destructor feedback, Wolfgang Spraul, 2005/10/17
- Re: %destructor feedback,
Paul Eggert <=
- Re: %destructor feedback, Akim Demaille, 2005/10/20
- Re: %destructor feedback, Joel E. Denny, 2005/10/20
- Message not available
- Message not available
- Message not available
- Re: %destructor feedback, Joel E. Denny, 2005/10/22
- Re: %destructor feedback, Frank Heckenbach, 2005/10/22
- Re: %destructor feedback, Joel E. Denny, 2005/10/22
- Re: %destructor feedback, Frank Heckenbach, 2005/10/22
- Re: %destructor feedback, Joel E. Denny, 2005/10/23