When I have an empty alternative in a treewalker, it gets into an infinite loop. I assume it's the same bug as this one, which only mentions the problem in a lexer: http://www.antlr.org:8888/browse/ANTLR-102