[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory Leak due to strdup even after using %destructor
From: |
Hans Aberg |
Subject: |
Re: Memory Leak due to strdup even after using %destructor |
Date: |
Wed, 4 Feb 2009 12:42:36 +0100 |
[Please keep the cc to the Bison list so other know and may help.]
Since I use C++, I do not know the details - perhaps somebody else can
make it precise.
But I figure that one might use actions like
sequence:
{ $$ = ...; }
| sequence token { $$ = ...; free($1); }
Hans
On 4 Feb 2009, at 09:06, <address@hidden> wrote:
Thanks Hans !!!!
Which directive I need to use to specify actions ??
Just I need to free the yylval.text ??
Thanks.