diff --git a/runtime/CSharp/Antlr4.Runtime/Parser.cs b/runtime/CSharp/Antlr4.Runtime/Parser.cs index c4ac30b18..8d13cf52f 100644 --- a/runtime/CSharp/Antlr4.Runtime/Parser.cs +++ b/runtime/CSharp/Antlr4.Runtime/Parser.cs @@ -800,6 +800,10 @@ namespace Antlr4.Runtime { AddContextToParseTree(); } + if (_parseListeners != null) + { + TriggerEnterRuleEvent(); + } } public virtual void EnterLeftFactoredRule(ParserRuleContext localctx, int state, int ruleIndex)