You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/05/02 20:18:54 UTC

[groovy] branch master updated: Remove deprecated parser rules

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

sunlan 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 fb90e6b  Remove deprecated parser rules
fb90e6b is described below

commit fb90e6bb6fe1449fa7107e8d25f8efd4911a4470
Author: Daniel Sun <su...@apache.org>
AuthorDate: Mon May 3 04:18:38 2021 +0800

    Remove deprecated parser rules
---
 src/antlr/GroovyParser.g4 | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/antlr/GroovyParser.g4 b/src/antlr/GroovyParser.g4
index bff566b..b7af1e6 100644
--- a/src/antlr/GroovyParser.g4
+++ b/src/antlr/GroovyParser.g4
@@ -1136,14 +1136,6 @@ options { baseContext = enhancedArgumentListInPar; }
         )*
     ;
 
-enhancedArgumentList
-options { baseContext = enhancedArgumentListInPar; }
-    :   firstEnhancedArgumentListElement
-        (   COMMA nls
-            enhancedArgumentListElement
-        )*
-    ;
-
 enhancedArgumentListInPar
     :   enhancedArgumentListElement
         (   COMMA nls
@@ -1163,13 +1155,6 @@ options { baseContext = enhancedArgumentListElement; }
     |   namedPropertyArg
     ;
 
-firstEnhancedArgumentListElement
-options { baseContext = enhancedArgumentListElement; }
-    :   expressionListElement[true]
-    |   standardLambdaExpression
-    |   namedArg
-    ;
-
 enhancedArgumentListElement
     :   expressionListElement[true]
     |   standardLambdaExpression