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
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
? 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
? 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
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