[antlr-interest] grammar question

Prashant Deva prashant.deva at gmail.com
Tue Sep 20 13:57:20 PDT 2005


> Uh, try the same not using a syntactic predicate:
> 
> MID: "M" NAME_IDENTIFIER;
I thought he already used that and failed ;)

PRASHANT

On 9/20/05, Martin Probst <mail at martin-probst.com> wrote:
> 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