|
From: | Joel E. Denny |
Subject: | Re: %destructor feedback |
Date: | Fri, 21 Oct 2005 11:08:28 -0400 (EDT) |
On Fri, 21 Oct 2005, Frank Heckenbach wrote:
Akim Demaille wrote:Maybe that does not deserve that much attention: it seems pretty weird not to use a value. A warning seems a better feature.I sometimes attach some kinds of flags (integer type) to some symbols that I need in some, but not all, rules that use that symbol. So, if you go for the warning, could you please make it optional? (I think it would be a useful feature in general, including several of my grammars, but in some cases I'd probably prefer to turn it off.)
If your semantic value is just an integer, then you probably won't declare a destructor. In that case, I should think there's no reason for bison to generate a warning. Would that resolve your issue?
Joel
[Prev in Thread] | Current Thread | [Next in Thread] |