[antlr-interest] error message
Terence Parr
parrt at jguru.com
Fri Feb 1 19:43:22 PST 2002
On Friday, February 1, 2002, at 07:40 PM, QinPeng wrote:
> Hi,all!
> when I edit my .g file named "first.g",and run:
> java -classpath D:\antlr271 antlr.Tool first.g
> this message emerged:
> error: Token stream error reading
> grammar(s):antlr.TokenStreamRecognitionException: expecting '*',
> found ' '
>
> What's the matter?
> How to correct it?
Strange. You probably have a grammatical error in your input. Try it
on an example from the distribution...if that works, it's the first.g
file. What does it look like?
Ter
--
Chief Scientist & Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list