[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: regarding the datatype of yy_state_buf
From: |
John Millaway |
Subject: |
RE: regarding the datatype of yy_state_buf |
Date: |
Mon, 19 Aug 2002 21:25:20 -0700 (PDT) |
> My problem is that since yy_state_buf is declared as static (size around 64
> K), it takes
> a lot of swap space. So I want to declare it as pointer and then
> allocate memory to it, in one of the routines. Please let me know, if is it
> possible.
I'll fix this in flex so that it is dynamically allocated, if possible.
In the meantime, I'm pretty sure that yy_state_buf is huge because your scanner
uses REJECT. If you don't use REJECT, then I think yy_state_buf will disappear.
Try it out and let me know.
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com