forked from jasder/antlr
Remove logging code which has a detrimental performance impact on processing recursive imports
This commit is contained in:
parent
e4c193005e
commit
4b7873783d
|
@ -377,11 +377,9 @@ public class Grammar implements AttributeResolver {
|
|||
if ( t.getType()==ANTLRParser.ASSIGN ) {
|
||||
t = (GrammarAST)t.getChild(1);
|
||||
importedGrammarName = t.getText();
|
||||
tool.log("grammar", "import "+ importedGrammarName);
|
||||
}
|
||||
else if ( t.getType()==ANTLRParser.ID ) {
|
||||
importedGrammarName = t.getText();
|
||||
tool.log("grammar", "import " + t.getText());
|
||||
}
|
||||
Grammar g;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue