[antlr-interest] building cgram

Bernhard Poess poess at ira.uka.de
Wed Nov 23 06:21:29 PST 2005


Hi,

I've finally got it running, the problem whas with my classpath. For
everybody who might get the same problems here what I had to do:

Set $CLASSPATH:
export CLASSPATH=.:/path/to/antlr.jar

be aware of the ., it is important.

After that remove the lines

import CToken
import LineObject

from

TNode.java
StdCParser.g
GnuCParser.g
expandedGnuCParser.g

After that, delete all class files (make clean does *not* work) and do a
make all.

Bernhard


More information about the antlr-interest mailing list