help-flex
[Top][All Lists]
Advanced

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

Bug on flex.


From: Gonzalo Negre
Subject: Bug on flex.
Date: Fri, 30 Jul 1999 10:24:22 -0300

Dear John:

I beleive there is a bug on flex distribution.
I{d been using 2.5.4a distribution and I saw the same  problem on 2.5.6
developer distribution.

The problem is as follows:

1) When Flexlexer is destroyed and I am  using stacks (yy_pop_state, etc)
the array keepeng the states is not destroyed. (I am using a C++
flexlexer!!).

This result in a memory leak!!!
So my solution was to modify the default skl file.

2) There is patch on inet to use large NFA and DFAs, may be it coulod be
incorporated.
 

3) When different lexers are used, may be we wanna have different
Flexlexer.h files, because sometimes is better to define some members inside
the class.
So, maybe an improvement could be to add an option to tell flex.exe what is
the name of flexlexer.h

Hope it helps,
Gonzalo.


<<attachment: winmail.dat>>


reply via email to

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