[antlr-interest] valid grammar does not compile
D. Frej
dieter_frej at gmx.net
Thu Nov 17 01:14:12 PST 2011
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 <bkiers at gmail.com>
> An: "D. Frej" <dieter_frej at gmx.net>
> CC: antlr-interest at antlr.org
> Betreff: Re: [antlr-interest] valid grammar does not compile
>
> On Thu, Nov 17, 2011 at 9:14 AM, D. Frej
> <dieter_frej at gmx.net> wrote:
>
> > 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 !?
> >
> >
>
> You should not escape the question mark.
> Regards,
> Bart.
>
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
More information about the antlr-interest
mailing list