[antlr-interest] Decision can match input such as ...using multiple alternatives: 1, 2

elekis elekis at gmail.com
Thu Apr 24 11:51:52 PDT 2008


hi,
I have a little problem with a rule (that I cleaned)

singlePragma: t1=T_Ident
			(  T_LParent 	( literal | desigElement (T_Comma desigElement)*)
			  	(T_Comma ( literal | desigElement (T_Comma desigElement)*))
			  T_RParent )? T_SemiColon;

I have the followed warning

warning(200): Pyaflplug.g:35:42: Decision can match input such as "T_Comma T_Com
ma" using multiple alternatives: 1, 2
As a result, alternative(s) 2 were disabled for that input

any idea to solve that.

thanks

a++
-- 
http://deathboater.blogspot.com/


More information about the antlr-interest mailing list