Re: Per-type %destructor?
Bart Samwel <bart <at> samwel.tk>
2006-04-08 19:19:26 GMT
Hi Joel,
Joel E. Denny wrote:
> On Sat, 8 Apr 2006, Bart Samwel wrote:
>
>> I've just picked up bison 2.1, and I read in the manual that feedback on the
>> %destructor feature was wanted. I do have one issue with the way it is
>> implemented, and I didn't find any discussions in the archives that mentioned
>> this, so here I am to report. If this has already been resolved or rejected
>> earlier, please forgive my ignorance.
>>
>> My issue with the 2.1 %destructor feature is that destructors are only
>> specifiable on a per-symbol basis, while I would like to specify them per
>> *type*.
>
> This has been discussed briefly before, and I agree with you. At least
> one other developer agreed at the time, and there were no objections, so I
> think it will happen eventually.
Great! I'll start using the feature as it is then, and migrate to the
"typewide" version when it appears.
> Thanks for the feedback.
Thanks for making my life easier.
Cheers,
Bart
(Continue reading)