|
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 meantto 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
[Prev in Thread] | Current Thread | [Next in Thread] |