[antlr-interest] Errors about "NoViableAltForCharException"

xdjicn xdji at ustc.edu
Fri Oct 25 05:02:14 PDT 2002


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.




 

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



More information about the antlr-interest mailing list