>Actually, I believe it will chose the alternative that is earliest in >the YACC input file (atleast bison does that). This is one of the reasons I prefer ANTRL. In ANTLR grammars, one cannot continue generating the parser until one either resolves the ambiguity, or deliberately suppresses it. C// http://www.antlr.org