What exactly do you mean by a 'follow set'? In the doc it says that, when antlr parsers encounter an error they look up tokens until they find one in the 'follow set' of the rule. So what exaclty does the parser look for when it encounters an error? PRASHANT