Hi.thanks for the hints... there is a nonlinearity in my algorithm. I was hoping nobody would get hit by it, but I have added an improvement request: http://www.antlr.org/jira/browse/ANTLR-371 Ter