Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X ef0fe0b7e -> 83391ce60


Revert "Refine `sep` rule of parser"

This reverts commit 9e35807

(cherry picked from commit 2971892)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/83391ce6
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/83391ce6
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/83391ce6

Branch: refs/heads/GROOVY_2_6_X
Commit: 83391ce60928c67b4aa99ba718b06d732e54d867
Parents: ef0fe0b
Author: sunlan <sun...@apache.org>
Authored: Wed Apr 11 07:49:07 2018 +0800
Committer: sunlan <sun...@apache.org>
Committed: Wed Apr 11 09:17:40 2018 +0800

----------------------------------------------------------------------
 src/antlr/GroovyParser.g4 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/83391ce6/src/antlr/GroovyParser.g4
----------------------------------------------------------------------
diff --git a/src/antlr/GroovyParser.g4 b/src/antlr/GroovyParser.g4
index ca237e3..b46ac69 100644
--- a/src/antlr/GroovyParser.g4
+++ b/src/antlr/GroovyParser.g4
@@ -1248,6 +1248,5 @@ nls
     :   NL*
     ;
 
-sep :   SEMI NL*
-    |   NL+ (SEMI NL*)*
+sep :   (NL | SEMI)+
     ;

Reply via email to