You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/09/28 22:58:18 UTC

[groovy] branch master updated: prepare for removal of antlr2 parser

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 47200de  prepare for removal of antlr2 parser
47200de is described below

commit 47200defa9e48e2664123d1193a979545fa09e93
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun Sep 29 08:58:06 2019 +1000

    prepare for removal of antlr2 parser
---
 src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java b/src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java
index fcc68a2..411aaad 100644
--- a/src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java
+++ b/src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java
@@ -129,7 +129,7 @@ public class CompilerConfigurationTest extends GroovyTestCase {
         initJoint.put("somekey", "somevalue");
         init.setJointCompilationOptions(initJoint);
 
-        final ParserPluginFactory initPPF = ParserPluginFactory.newInstance();
+        final ParserPluginFactory initPPF = ParserPluginFactory.antlr4(init);
         init.setPluginFactory(initPPF);
 
         assertEquals(WarningMessage.POSSIBLE_ERRORS, init.getWarningLevel());