[antlr-interest] enigmatic error message

Martin Probst mail at martin-probst.com
Fri Oct 21 12:38:47 PDT 2005


Am Freitag, den 21.10.2005, 17:27 +0200 schrieb Mathieu Clabaut:
> ANTLR 2.7.5 just gives me the following enigmatic error message !
> 
>  ANTLR Parser Generator   Version 2.7.5 (20050201)   1989-2005 jGuru.com
>  usage: java antlr.Tool [args] file.g
> 
> I must say I was quite surprised as it usually gives lot of usefull
> informations. Any tip in such a situation ?

What's so cryptic? The tool tells you how to use it:
java antlr.Tool mygrammar.g

Probably you invoked it without passing a grammar or with illegal
parameters.

Martin



More information about the antlr-interest mailing list