[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java 5 grammar



Hi Bill,

> For building, I just substituted the grammar files into the ant-script
> from the java-1.1-1.0 grammar.

I think that this (above) is your problem...  I have not tested it with
the Ant build setting of other grammar versions.

Here's how I do it (the old fashion way):

$ java -jar /home/egagnon/sablecc/lib/sablecc.jar \
    java-1.5-preprocessor.sablecc
$ java -Xmx1024m -jar /home/egagnon/sablecc/lib/sablecc.jar \
    java-1.5.sableccjava
$ javac Main.java
$ java Main Main.java  # etc.

Have fun!

Etienne

-- 
Etienne M. Gagnon, Ph.D.                             egagnon@xxxxxxxxx
President                                      http://www.sablevm.org/
J-Meg inc.                                     http://www.sablecc.org/

Attachment: signature.asc
Description: OpenPGP digital signature