} finally {
// store the result of creating the grammars
createGrammarResult.setErrors(el.errors);
createGrammarResult.setWarnings(el.warnings);
el.clear();
ErrorManager.removeErrorListener();
}
}
private Grammar createNewGrammar() throws TokenStreamException, RecognitionException, IOException {