help-bison
[Top][All Lists]
Advanced

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

Re: yyval2 problem


From: Hans Aberg
Subject: Re: yyval2 problem
Date: Mon, 10 Oct 2005 15:38:55 +0200

On 10 Oct 2005, at 14:12, The Leals wrote:

Turns out I had $$2 in my bison code, which then became yyval2. I had meant
to use $2 instead. Odd that there was no error message ...

$$ is translated to yyval; then you add a 2 to it, which is fully legal. More common, though, is to select a field from $$.

  Hans Aberg






reply via email to

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