Problem with parsing token file in generateGrammar