[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Java 5 grammar
That did the trick. Thanks Etienne!
-- Bill
> -----Original Message-----
> From: sablecc-user-bounces@xxxxxxxxxxx
> [mailto:sablecc-user-bounces@xxxxxxxxxxx] On Behalf Of Etienne Gagnon
> Sent: Monday, October 09, 2006 8:43 PM
> To: SableCC Users Mailing List
> Subject: 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/
>