[antlr-interest] NON DETERMINISM PROBLEM

Alexey Demakov demakov at ispras.ru
Tue Mar 29 06:50:28 PST 2005


number:
| NUMBER ( TIC_NUMBER )?
| TIC_NUMBER 
;

Regards,
Alexey

-----
Alexey Demakov
TreeDL: Tree Description Language: http://treedl.sourceforge.net
RedVerst Group: http://www.unitesk.com


----- Original Message ----- 
From: "Shalini Sharma" <shalini.sh at gmail.com>
To: "'antlr-interest' Interest" <antlr-interest at antlr.org>
Sent: Tuesday, March 29, 2005 6:28 PM
Subject: [antlr-interest] NON DETERMINISM PROBLEM


> due to non determism at "number" whatever lookahead i use .
> non-determinism remains at rule array_index_seq . what should be done
> for such problem
> 
> 
> 
> array_index_seq:
> array_index (array_index )* 
>            ;
> 
> array_index:
> LBRAC number RBRAC
> ;
> 
> number:
>   NUMBER 
> | TIC_NUMBER 
> | NUMBER TIC_NUMBER 
> ;



More information about the antlr-interest mailing list