bison-patches
[Top][All Lists]
Advanced

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

Re: %destructor declared by semantic type


From: Akim Demaille
Subject: Re: %destructor declared by semantic type
Date: Wed, 21 Jun 2006 13:48:11 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>> "Joel" == Joel E Denny <address@hidden> writes:

 >> Or maybe we want to be able to report things such as
 >> 
 >> exp: exp %type <int>{ $$=$1; } '+' exp { $$ = $2 + $4; };
 >> 
 >> or without the %type?

 > Something like that seems more reasonable since it's an explicit
 > declaration as when declaring types for symbols.  However, I think
 > we can add %destructor by type now,

I definitely in favor of per-type %printers and %destructor!  The
above proposal, btw, makes both happy.






reply via email to

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