rm prints

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9824]
This commit is contained in:
parrt 2012-01-04 17:37:15 -08:00
parent e7f6ba5ac1
commit 7d68546dbe
1 changed files with 3 additions and 3 deletions

View File

@ -139,8 +139,8 @@ public class GrammarTransformPipeline {
new LeftRecursiveRuleAnalyzer(tokens, ruleAST, tool, ruleName, language);
boolean isLeftRec = false;
try {
System.out.println("TESTING ---------------\n"+
leftRecursiveRuleWalker.text(ruleAST));
// System.out.println("TESTING ---------------\n"+
// leftRecursiveRuleWalker.text(ruleAST));
isLeftRec = leftRecursiveRuleWalker.rec_rule();
}
catch (RecognitionException re) {
@ -151,7 +151,7 @@ public class GrammarTransformPipeline {
// replace old rule
GrammarAST RULES = (GrammarAST)ast.getFirstChildWithType(ANTLRParser.RULES);
String newRuleText = leftRecursiveRuleWalker.getArtificialOpPrecRule();
System.out.println("created: "+newRuleText);
// System.out.println("created: "+newRuleText);
GrammarAST t = parseArtificialRule(g, newRuleText);
RULES.setChild(ruleAST.getChildIndex(), t);
tool.log("grammar", "added: "+t.toStringTree());