[antlr-interest] valid grammar does not compile

Bart Kiers bkiers at gmail.com
Thu Nov 17 00:34:45 PST 2011


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.


More information about the antlr-interest mailing list