[antlr-interest] Lots of memory leak with TokenStreamHiddenTokenFilter of C++ Target in Antlr 2.7x?

Ric Klaren ric.klaren at gmail.com
Thu May 10 14:44:45 PDT 2007


Hi,

On 5/8/07, service <service at sharpplus.com> wrote:
> recently I wanted to use TokenStreamHiddenTokenFilter it works as expected. But when I use boost to do some unit test, the boost reports lots of memory leaks. I do not know whether it is problem of my code or not . So I use the example preserveWhiteSpace shipped with antlr and do a little console project under vc7.1. the boost test framework report same problem. I do not know why. the following is the test program and the memory leak log.

..

> by the way , rewriteengine in antlr 2.7x c++ target has similar problem, but looks like not as serious as hidden filter.

Thanks for the report I'll look into it.

Cheers,

Ric


More information about the antlr-interest mailing list