forked from jasder/antlr
fixed enter/exit. "every" done first/last now.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9463]
This commit is contained in:
parent
30d89abc4a
commit
a6be7ddb9c
|
@ -61,8 +61,8 @@ public class Parser extends BaseRecognizer<Token> {
|
|||
_ctx.ruleIndex = ruleIndex;
|
||||
if ( buildParseTrees ) addContextToParseTree();
|
||||
if ( _listener != null) {
|
||||
_ctx.enterRule(_listener);
|
||||
_listener.enterEveryRule(_ctx);
|
||||
_ctx.enterRule(_listener);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue