[antlr-interest] grammar question

Martin Probst mail at martin-probst.com
Tue Sep 20 11:19:00 PDT 2005


Hi,

On Tue, 2005-09-20 at 23:22 +0530, Prashant Deva wrote:
> Try using a syntactic proedicate.
> 
> Something like -
> 
> MID  :  ("M" STRING) => M (STRING)+
> ;

Uh, try the same not using a syntactic predicate:

MID: "M" NAME_IDENTIFIER;

Martin



More information about the antlr-interest mailing list