[antlr-interest] Re: How to get the line information while parser throwing TokenStreamException

micheal_jor <open.zone at virgin.net> open.zone at virgin.net
Wed Jan 8 00:58:30 PST 2003


--- In antlr-interest at yahoogroups.com, "xdjicn <xdji at u...>" 
<xdji at u...> wrote:
> In antlr 2.7.1,the class TokenStreamException has no methods to 
> supply the detailed exception information,such as getLine
> (),getFileName().

You shouldn't be using ANTLR v2.7.1 in preference to the latest 2.7.2 
pre-release versions. Does ANTLR 2.7.2-rc2 fix this issue for you?

Micheal



 

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



More information about the antlr-interest mailing list