Merge branch 'master' of github.com:parrt/antlr4 into enhance-ctx

This commit is contained in:
Terence Parr 2012-02-13 10:20:09 -08:00
commit ebb8b3a15b
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ public static class <s.name> extends <currentRule.name>Context {
VisitorDispatchMethod(method) ::= <<
@Override
public void <if(method.isEnter)>enter<else>exit<endif>Rule(ParseTreeListener\<<InputSymbolType()>\> listener) {
if ( listener!=null && listener instanceof <parser.grammarName>Listener ) ((<parser.grammarName>Listener)listener).<if(method.isEnter)>enter<else>exit<endif>Rule(this);
if ( listener instanceof <parser.grammarName>Listener ) ((<parser.grammarName>Listener)listener).<if(method.isEnter)>enter<else>exit<endif>Rule(this);
}
>>