fixed enter/exit. "every" done first/last now.

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9463]
This commit is contained in:
parrt 2011-11-26 10:27:01 -08:00
parent 30d89abc4a
commit a6be7ddb9c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}