[antlr-interest] How to locate errors?

xdjicn xdji at ustc.edu
Wed Oct 23 18:27:39 PDT 2002


In compiling a parser file,ANTLR gives the following messages:

/////////////////////////////////////////////
ANTLR Parser Generator   Version 2.7.1   1989-2000 jGuru.com
error: Token stream error reading grammar
(s):antlr.TokenStreamRecognitionExcepti
on: expecting '*', found ' '
TokenStreamException: expecting '*', found ' '
/////////////////////////////////////////////
How can I get the line number where the error occurs?
Thanks!


 

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



More information about the antlr-interest mailing list