[antlr-interest] Antlr for syntax check - Reposting

rodrigo reyes rodrigor at in-fusio.com
Mon Oct 6 05:06:05 PDT 2003


Hi,

> expr			: bool_exprsn;
> It works fine with expression such as (iVar1 <
> 10)&(iVar3 > 4) etc. However it does not throw
> exceptions for expression such as 
> (iVar1 < 10)))))

 Just change your expr rule to be
expr			: bool_exprsn EOF;

Bests,
Rodrigo

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list