From 8f53a8e03cb9c91f9b801531d5d3c7441eccc7dd Mon Sep 17 00:00:00 2001 From: Bryan Wilhelm Date: Fri, 9 Oct 2015 21:33:13 -0400 Subject: [PATCH] Resolve overloaded labeled method. When left recursion is used the rule method is overloaded. When not resolved a C# compiler is generated and defaults to the parameterless method. This explicitly sets it to the parameterless method. --- .../v4/tool/templates/codegen/CSharp/CSharp.stg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tool/resources/org/antlr/v4/tool/templates/codegen/CSharp/CSharp.stg b/tool/resources/org/antlr/v4/tool/templates/codegen/CSharp/CSharp.stg index 585e4cef4..cd70b3eaf 100644 --- a/tool/resources/org/antlr/v4/tool/templates/codegen/CSharp/CSharp.stg +++ b/tool/resources/org/antlr/v4/tool/templates/codegen/CSharp/CSharp.stg @@ -73,7 +73,7 @@ public interface IListener : IParseTreeListener { /// \ /// Enter a parse tree produced by the \\ -/// labeled alternative in \. +/// labeled alternative in \. /// Enter a parse tree produced by \. @@ -83,7 +83,7 @@ void Enter([NotNull] . /// Exit a parse tree produced by the \\ -/// labeled alternative in \. +/// labeled alternative in \. /// Exit a parse tree produced by \. @@ -121,7 +121,7 @@ public partial class BaseListener : IListene /// \ /// Enter a parse tree produced by the \\ -/// labeled alternative in \. +/// labeled alternative in \. /// Enter a parse tree produced by \. @@ -132,7 +132,7 @@ public virtual void Enter([NotNull] /// Exit a parse tree produced by the \\ -/// labeled alternative in \. +/// labeled alternative in \. /// Exit a parse tree produced by \. @@ -181,7 +181,7 @@ public interface IVisitor\ : IParseTreeVisitor\ /// Visit a parse tree produced by the \\ -/// labeled alternative in \. +/// labeled alternative in \. /// Visit a parse tree produced by \. @@ -219,7 +219,7 @@ public partial class BaseVisitor\ : AbstractParseTreeV /// \ /// Visit a parse tree produced by the \\ -/// labeled alternative in \. +/// labeled alternative in \. /// Visit a parse tree produced by \.