[antlr-interest] Problem with relative paths on Windows
Braden McDaniel
braden at endoframe.com
Thu Nov 10 11:07:13 PST 2005
I'm observing an apparent problem with relative paths on Windows when
attempting to generate code from a grammar that inherits another one.
When issuing this command:
java -cp c:/data1/bmcdaniel/antlr/275/lib/antlr.jar antlr.Tool -o
../../../src/libopenvrml/openvrml -glib
../../../src/libopenvrml/openvrml/Vrml97Parser.g
../../../src/libopenvrml/openvrml/X3DVrmlParser.g
I get this error:
ANTLR Parser Generator Version 2.7.5 (20050128) 1989-2005 jGuru.com
error: cannot write expanded grammar file
expanded../../../src/libopenvrml/openvrml/X3DVrmlParser.g
It looks like the name/path of the intermediate grammar file isn't being
constructed correctly. This works just fine on Linux, though.
Braden
More information about the antlr-interest
mailing list