[antlr-interest] empty file and lexer tokens

Terence Parr parrt at jguru.com
Sat Oct 26 09:56:02 PDT 2002


On Friday, October 25, 2002, at 08:30  AM, Sriram Durbha wrote:

> In compiling the lexer.cpp generated by antlr 2.7.2a3,the compiler
> gave the following errors:
>
> <<NoViableAltForCharException::NoViableAltForCharException' : no
> overloaded function takes 4 parameters>>
>
> source codes is below:
>
> <<
> ...
> else {throw antlr::NoViableAltForCharException(LA(1), getFilename(),
> getLine(), getColumn());}
> ...
>>>
>
> But the errors disappeared when I used antlr 2.7.1.

I have fixed this backward compatibility in later versions of 2.7.2.  
Please try

http://www.antlr.org/download/antlr-2.7.2a4_10-25-2002.jar

Thanks,
Terence
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Lecturer in Comp. Sci., University of San Francisco


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list