help-bison
[Top][All Lists]
Advanced

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

Re: warning: unused value: $3


From: henrik . sorensen
Subject: Re: warning: unused value: $3
Date: Wed, 1 Nov 2006 16:22:03 +0100
User-agent: KMail/1.9.1

On Wednesday 01 November 2006 00:44, Joel E. Denny wrote:
> On Fri, 27 Oct 2006, Joel E. Denny wrote:
> > I think I'm seeing it your way at least as far as these mid-rule warnings
> > are concerned.  Looking at it from another angle, while it's probably ok
> > to warn about potentially dangerous uses of Bison's original features
> > (%destructor and associated unset/unused values), it's harder to justify
> > warning about potentially valid uses of traditional Yacc features
> > (mid-rule values used as $0 or $-n instead of $n).
> >
> > It may be best to leave the mid-rule warnings off by default but activate
> > them with -W.  I'll try to implement this soon unless I hear an argument
> > otherwise.
>
> I'm thinking of committing the following.  Any comments from anyone?

that would work for me.

thanks Henrik




reply via email to

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