[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I plug-in my own memory management in Bison?
From: |
Ashish Mahamuni |
Subject: |
Re: How can I plug-in my own memory management in Bison? |
Date: |
Wed, 22 Aug 2012 11:00:42 +0100 |
Anybody ?
On Mon, Aug 13, 2012 at 3:02 PM, Ashish Mahamuni
<address@hidden>wrote:
> I have got my own "my_malloc" and "my_free" methods.
> I would like Bison to invoke those for memory allocation and to free the
> memory.
>
> Basically, something similar to lex, where I can specify noyyalloc,
> noyyfree and provide my own definitions.
>
> I tried #define YYMALLOC, but it did not work.
>
> is this possible with Bison?
>
> --Ashish
>
>