[antlr-interest] ANTLR 2.7.5 Bug (affects lexers in C#, Java and C++) - FIXED

Micheal J open.zone at virgin.net
Wed Apr 13 23:19:53 PDT 2005


> ANTLR lexers don't (shouldn't?) have the recover() method so, 
> it could be classed as a bug in the C# codegen since it 
> shouldn't be generating calls to
> recover() for lexers.
> 
> I've confirmed that this issue also affects the Java and C++ 
> codegens (Python doesn't yet generate the recover() method) 

> 2. Add recover() to the CharScanner class for C#, Java and 
> C++ (as Luis did for C# in his private copy of ANTLR).
> 
> The effort involved is about the same in either case.

The CharScanner class now has a recover() method in the C#, Java and C++
runtime libraries.

Micheal
ANTLR/C#



More information about the antlr-interest mailing list