[antlr-interest] errorCount not reset when reusing input stream

Damir Franusic df at release14.org
Sat Nov 10 11:48:16 PST 2012


Hi

I am not sure if this is really a bug but when you're reusing 
input/parser/lexer, getNumberOfSyntaxErrors returns incremental value 
between sessions, state->errorCount is not reset. I am manualy setting 
state->errorCount to zero before calling reuse on input stream.

P.S.
I am using latest antlr v3.4 dowloaded from GitHub(master branch) couple 
of days ago.


*Damir Franusic*
Founder / Lead developer

r14 logo
*Release 14*
e: df at release14.org
w: http://www.release14.org/



More information about the antlr-interest mailing list