[antlr-interest] test release of antlr 3.4
parrt at cs.usfca.edu
Mon Jun 20 12:28:35 PDT 2011
If you can send me your grammar, I'll poke around. Jim might be able to work on this today too.
On Jun 20, 2011, at 12:13 PM, A Z wrote:
> Thanks, that Java command worked for me.
> The good news is the C code was generated with no grammar issues.
> Unfortunately the C code doesn't compile:
> - The characters '\>=' are used in comparisons
> - '_empty' is not defined
> - There are lots of these, with varying numbers of altSwitchCase(), which is
> also not defined.
> switch (alt48)
> - Many functions starting with 'FOLLOW_set_in_*' are not defined. These seem
> to be related to rules in which all the alternatives are single tokens.
> On Mon, Jun 20, 2011 at 11:28 AM, Julien BLACHE <jb at jblache.org> wrote:
>> A Z <asicaddress at gmail.com> wrote:
>>> How is this jar different than 3.2? I tried the same command
>>>> java -jar antlr-3.4.jar grammar.g
>>> but I get an error message:
>>> "Invalid or corrupt jarfile antlr-3.4.jar"
>> Same issue here. It works when invoked this way
>> java -cp antlr-3.4.jar org.antlr.Tool grammar.g
>> I'll leave it up to the Java-literate to investigate/explain/fix ;)
>> (Sun^WOracle Java 1.6.0_26 if it makes any difference)
>> Julien BLACHE <http://www.jblache.org>
>> <jb at jblache.org> GPG KeyID 0xF5D65169
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest