diff --git a/tool/resources/org/antlr/v4/tool/templates/codegen/Python2/Python2.stg b/tool/resources/org/antlr/v4/tool/templates/codegen/Python2/Python2.stg index eb5b3cecf6..448952a546 100644 --- a/tool/resources/org/antlr/v4/tool/templates/codegen/Python2/Python2.stg +++ b/tool/resources/org/antlr/v4/tool/templates/codegen/Python2/Python2.stg @@ -511,8 +511,8 @@ self.consume() >> Wildcard(w) ::= << -setState(); - = }>matchWildcard() +self.state = + = }>self.matchWildcard() >> // ACTION STUFF