help-bison
[Top][All Lists]
Advanced

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

RE: string token


From: Hans Aberg
Subject: RE: string token
Date: Wed, 3 Dec 2003 00:24:48 +0100

)Please keep cc to Help-Bison.)

At 14:02 -0800 2003/12/02, Xinan Tang wrote:
>Hi Hans,
>
>   $1 will be overwritten by $2 when printf is executed. One has to copy
>$1 somewhere as soon as yyval is available.

It looked as though that was done in the lexer actions. -- Therfore I did
not mention it. But if the lexer action does not copy the string it found,
it is an error.

  Hans Aberg
                  * Email: Hans Aberg <mailto:address@hidden>
                  * Home Page: <http://www.math.su.se/~haberg/>
                  * AMS member listing: <http://www.ams.org/cml/>






reply via email to

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