[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How can I plug-in my own memory management in Bison?
From: |
Ashish Mahamuni |
Subject: |
How can I plug-in my own memory management in Bison? |
Date: |
Mon, 13 Aug 2012 15:02:16 +0100 |
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
- How can I plug-in my own memory management in Bison?,
Ashish Mahamuni <=