[antlr-interest] How to solve following conflict ?

Kevin "MiNdCRY" Erath mindcry2000 at gmx.de
Tue Sep 17 07:49:40 PDT 2002


Let's say i have following grammer:

test: ((list)? STAR )+ (list)? COMMA
     ;

list:     ( ID_1 | ID_2 )+
    ;

then i get following conflict:
nondeterminism
upon[k==1:ID_1,ID_2],[k==2:COMMA,ID_1,ID_2],[k==3:EOF,COMMA,ID_1,ID_2],
between alt 1 and exit branch of block

can anybody on this list help me on solve this issue ?

thank your very much,
Kevin
"¨¨°º©o.,MiNdCRY,.o©º°¨¨"
------------------------------------------
  www.game-designer.net
------------------------------------------



 

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



More information about the antlr-interest mailing list