[Top][All Lists]

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

Re: %destructor declared by semantic type

From: Paul Eggert
Subject: Re: %destructor declared by semantic type
Date: Wed, 21 Jun 2006 13:26:25 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

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

> 1. If Bison finds <tag> usage (once you're done with your patch for this), 
> then it should assume the user will define YYSTYPE as a union.  This 
> subcase should be no different from the case where the user declares 
> %union, right?


> 2. If Bison finds no <tag> usage, then destructors by type make no sense, 
> so perhaps Bison should report an error if the user declares such 
> destructors.  However, destructors by symbol do still make sense.  A 
> catch-all destructor makes sense too, I think.

I agree with this as well.

reply via email to

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