After digging, issue seems related to optional tokens. In my grammar I have:
op=(',' | ';' | '|')? { .... } If I force op to be mandatory, and adap a little the rest of my grammar to match, it works fine. With op being optional it seems this version of antlr tries to bypass the token. It behaves differently from previous releases.
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.