[il-antlr-interest: 34936] [antlr-interest] valid grammar does not compile

2011-11-17 Thread D. Frej
Hi, I build the following grammar with antlrworks: grammar questionmark; horef     :    '\?' ('a'..'z')     ; antlrworks tells me check grammar succeeded. However, debugging does not works because the generated code does not compile !? My question: how does the rule have to look like so that

[il-antlr-interest: 34938] Re: [antlr-interest] valid grammar does not compile

2011-11-17 Thread D. Frej
and still: the compilation error stays even if I do not quote the question mark Original-Nachricht Datum: Thu, 17 Nov 2011 09:34:45 +0100 Von: Bart Kiers bki...@gmail.com An: D. Frej dieter_f...@gmx.net CC: antlr-interest@antlr.org Betreff: Re: [antlr

[il-antlr-interest: 34841] Re: [antlr-interest] grammar works in antlrworks debug mode but not eclipse

2011-11-11 Thread D. Frej
? They give syntax errors? Lexer? Parser? Exception? etc. Jim -Original Message- From: antlr-interest-boun...@antlr.org [mailto:antlr-interest- boun...@antlr.org] On Behalf Of D. Frej Sent: Thursday, November 10, 2011 2:05 AM To: antlr-interest@antlr.org Subject: [antlr-interest] grammar

[il-antlr-interest: 34842] Re: [antlr-interest] grammar works in antlrworks debug mode but not eclipse

2011-11-11 Thread D. Frej
? Lexer? Parser? Exception? etc. Jim -Original Message- From: antlr-interest-boun...@antlr.org [mailto:antlr-interest- boun...@antlr.org] On Behalf Of D. Frej Sent: Thursday, November 10, 2011 2:05 AM To: antlr-interest@antlr.org Subject: [antlr-interest] grammar works

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

2011-11-10 Thread D. Frej
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