[antlr-interest] Recursive not supposed behaivor when finding EOF
Michael
micha-1 at fantasymail.de
Fri May 8 04:04:26 PDT 2009
Am Friday 08 May 2009 11:58:00 schrieb Marwan Ajraoui:
> Hi there;
>
> I'm getting a strange error form a parser. I have defined a grammar,
> wich contains these rules;
>
>
> decl_codigo : decl_libreria decl_program
does it work with:
decl_codigo : decl_libreria decl_program EOF
I think you should include the EOF token into your grammar.
cheers,
Michael
More information about the antlr-interest
mailing list