[antlr-interest] Odd syntax error

Geoffrey Zhu gzhu at peak6.com
Fri Nov 17 15:17:55 PST 2006


ANTLR 2.77 suddenly generates a weird error. It says the file cannot be
found, but I am sure the file is there. If I change the output directory
to -o "c:\my test," it works; if I change it to -o c:\, it works, too;
but if I change it to -o "c:\" , it does not work. Does anyone has any
idea?

Thanks,
Geoffrey



antlr  -o "C:\Documents and Settings\gzhu\My Documents\Visual Studio
2005\DataGenerator\" "C:\Documents and Settings\gzhu\My Documents\Visual
Studio 2005\DataGenerator\stx.g"
java -classpath "C:\antlr\277rc1\lib\antlr.jar;. " antlr.Tool -o
"C:\Documents and Settings\gzhu\My Documents\Visual Studio
2005\DataGenerator\" "C:\Documents and Settings\gzhu\My Documents\Visual
Studio 2005\DataGenerator\stx.g"
ANTLR Parser Generator   Version 2.7.7 (20060930)   1989-2005
warning: grammar file must be last; ignoring other arguments...
error: file and not found


More information about the antlr-interest mailing list