help-bison
[Top][All Lists]
Advanced

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

Re: $1 is not $1 but $1+$2


From: Hans Aberg
Subject: Re: $1 is not $1 but $1+$2
Date: Sat, 30 Jul 2005 18:21:52 +0200


On 29 Jul 2005, at 10:53, Gianni Pucciani wrote:

the value in $1 is not that retrieved by the rule dbname. What happens is that in that rule, the value of $1 is not "$$ of dbname rule" but $1 + $2 , that is the two strings "dbname tablelist" concatenated. In other words, in the passage from one rule to another, the value of dbname is lost.

Any advice?

Check the FAQ:
http://www.gnu.org/software/bison/manual/html_mono/ bison.html#Strings-are-Destroyed

  Hans Aberg






reply via email to

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