From 4e560db250682d56e30c8d3fd189b7050e11284d Mon Sep 17 00:00:00 2001 From: Will Faught Date: Thu, 16 Jun 2016 22:17:43 -0700 Subject: [PATCH] Fix SetErrorHandler and NewBailErrorStrategy calls in generated Go tests --- .../resources/org/antlr/v4/test/runtime/go/Go.test.stg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime-testsuite/resources/org/antlr/v4/test/runtime/go/Go.test.stg b/runtime-testsuite/resources/org/antlr/v4/test/runtime/go/Go.test.stg index bbf5555a4..aed0c57d5 100644 --- a/runtime-testsuite/resources/org/antlr/v4/test/runtime/go/Go.test.stg +++ b/runtime-testsuite/resources/org/antlr/v4/test/runtime/go/Go.test.stg @@ -199,7 +199,7 @@ StringList() ::= "[]string" BuildParseTrees() ::= "p.BuildParseTrees = true" -BailErrorStrategy() ::= <%SetErrorHandler(NewBailErrorStrategy())%> +BailErrorStrategy() ::= <%p.SetErrorHandler(p.NewBailErrorStrategy())%> ToStringTree(s) ::= <%.ToStringTree(nil,p)%>