[antlr-interest] grammar works in antlrworks debug mode but not eclipse

Jim Idle jimi at temporal-wave.com
Thu Nov 10 07:46:25 PST 2011


There is not enough information here for anyone to help. What do you mean
by " only some rules works but not all"? They give syntax errors? Lexer?
Parser? Exception? etc.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of D. Frej
> Sent: Thursday, November 10, 2011 2:05 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] grammar works in antlrworks debug mode but
> not eclipse
>
> Hi,
>
> I created a grammar with the latest antlrworks. With antlrworks' debug
> functionality I "tested" the grammar. For proper throughout testing I
> copied the generated Lexer and Parser code to my eclipse project. The
> only change I made to the code was to add a package declaration.
>
> However, when I ran the code in eclipse only some rules works but not
> all. An input that works perfectly in antlrworks debug functionality is
> not working in eclipse. Any suggestions? I tried it with antlr-3.4 as
> well as an older version (3.1.1).
>
> This behaviour happens to me for the first time, even though I am using
> antlr for quite some time and in different versions.
>
> Thanks,
>
> - Didi
>
> 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 mailing list