public ParserFile(OutputModelFactory factory, String fileName) {
super(factory, fileName);
Grammar g = factory.getGrammar();
namedActions = buildNamedActions(factory.getGrammar());
genPackage = g.tool.genPackage;
<BUG>exportMacro = g.tool.exportMacro;
genListener = g.tool.gen_listener;</BUG>
genVisitor = g.tool.gen_visitor;
grammarName = g.name;
if (g.getOptionString("contextSuperClass") != null) {

public ParserFile(OutputModelFactory factory, String fileName) {
super(factory, fileName);
Grammar g = factory.getGrammar();
namedActions = buildNamedActions(factory.getGrammar());
genPackage = g.tool.genPackage;
exportMacro = factory.getGrammar().getOptionString("exportMacro");
genListener = g.tool.gen_listener;
genVisitor = g.tool.gen_visitor;
grammarName = g.name;
if (g.getOptionString("contextSuperClass") != null) {
