[antlr-interest] failed assertion in CircularQueue.hpp

Scott Amort jsamort at gmail.com
Mon Jul 10 16:26:44 PDT 2006


Hi All,

I am getting the following failed assertion while working with my ANTLR
2.7.6 parser/lexer (C++ target):

scripts/../lib/cpp/antlr/CircularQueue.hpp:59: void
antlr::CircularQueue<T>::removeItems(size_t) [with T =
antlr::TokenRefCount<antlr::Token>]: Assertion `nb <= entries()' failed.

Would anyone be able to enlighten me as to what is happening, and
whether the fault lies with my code or ANTLR?

Thanks so much!

Best,
Scott


More information about the antlr-interest mailing list