[antlr-interest] Assertion failure in cicularqueue.hpp
togol machillan
togolmach2 at lycos.com
Mon Mar 21 03:07:24 PST 2005
Hi,
I get the following output due to failure of the assertion in the removeItems (size_t) method defined in the mentioned file.
p ----> start of paragraph ...
col == 1
Assertion failed: nb <= entries(), file u:\antlr-2.7.5\lib\cpp\antlr\circularqueue.hpp, line 59
The rule which generates this error looks like this:
paragraph{
std::cout << "p ----> start of paragraph ..." << std::endl;
}
: pkeyword = p_keyword_nolist {col == 1}? ...
The starting portion of the input file is given below. The assertion fails when the parser tries to process the TITLE line, although "TITLE" is defined as a literal in the p_keyword_nolist rule and starts in column 1. Can somebody explain what I need to do to avoid this situation.
Input file:
DYNAMICS
DYNAMICS RESULTS=ON
TITLE 'IsoCyanate Leverkusen'
...
Regards,
Togol
--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at once.
http://datingsearch.lycos.com
More information about the antlr-interest
mailing list