[antlr-interest] Newbie grammar question...

Michael micha-1 at fantasymail.de
Mon Jun 8 05:51:30 PDT 2009


Am Monday 08 June 2009 14:33:28 schrieb Sylvain, Gregory [USA]:
>
> stmt :    SUBJ_TOK COLON PHRASE+ NL+ ;

it works for me after adding EOF to the stmt rule:
stmt :    SUBJ_TOK COLON PHRASE+ NL+ EOF;

 Michael


More information about the antlr-interest mailing list