I found that I had to delete *Parser.java and only after that 'Generate ANTLR Recognizer' starts to work.