On 09/01/2012 02:26 AM, Akim Demaille wrote:
> If one writes a parser that does not manipulate semantic
> values, these warnings are legitimate from the point
> of view of the compiler, but do not help and are not
> legitimate from the point of view of the Bison user.

This is the key point, I expect.

So why don't we modify Bison so that, if one writes
a parser like that, the generated parser doesn't
use yylval or semantic values at all?  That way,
the warnings will continue to be useful, and we
won't need to add this useless initialization
to the code.

Reply via email to