From 0375f8318a4e5318af66ef67d025967b5299c5e2 Mon Sep 17 00:00:00 2001 From: Terence Parr Date: Thu, 1 Mar 2012 18:01:27 -0800 Subject: [PATCH] rename a parameter --- .../src/org/antlr/v4/runtime/tree/ParseTreeVisitor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/tree/ParseTreeVisitor.java b/runtime/Java/src/org/antlr/v4/runtime/tree/ParseTreeVisitor.java index 9199aaac7..2ee8adccd 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/tree/ParseTreeVisitor.java +++ b/runtime/Java/src/org/antlr/v4/runtime/tree/ParseTreeVisitor.java @@ -17,11 +17,11 @@ public class ParseTreeVisitor { * care about some nodes. The ParserRuleContext.accept() method * walks all children by default; i.e., calls this method. */ - public T visitChildren(ParseTree ctx) { + public T visitChildren(ParseTree tree) { T result = null; - int n = ctx.getChildCount(); + int n = tree.getChildCount(); for (int i=0; i rctx = (ParserRuleContext)r.getRuleContext();