[antlr-interest] getting error while generating the grammar

Vipin Gupta vipin.gupta at impetus.co.in
Fri Nov 17 08:49:21 PST 2006


I am getting the error while generating the grammar the following code in
ANTLR 3. can any one help me to correct this syntax.

	expr 	 :	mexpr ((PLUS|MINUS) mexpr)*  -> $s1 (PLUS? MINUS?
$s2)*
		 ; 





More information about the antlr-interest mailing list