groovy git commit: Fix the position issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

groovy git commit: Fix the position issue

Daniel.Sun
Repository: groovy
Updated Branches:
  refs/heads/master a2fb76d73 -> 58bc7a88b


Fix the position issue


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

Branch: refs/heads/master
Commit: 58bc7a88b13344b3dcd76509fce16f0c68e1898a
Parents: a2fb76d
Author: sunlan <[hidden email]>
Authored: Mon Sep 11 22:25:22 2017 +0800
Committer: sunlan <[hidden email]>
Committed: Mon Sep 11 22:25:22 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/58bc7a88/src/main/antlr/GroovyParser.g4
----------------------------------------------------------------------
diff --git a/src/main/antlr/GroovyParser.g4 b/src/main/antlr/GroovyParser.g4
index 49877d7..009f415 100644
--- a/src/main/antlr/GroovyParser.g4
+++ b/src/main/antlr/GroovyParser.g4
@@ -664,7 +664,7 @@ locals[boolean resourcesExists = false]
             nls finallyBlock
         |
             // catch and finally clauses required unless it's a try-with-resources block
-            { require($resourcesExists, "either a catch or finally clause or both is required for a try-catch-finally statement", -5); }
+            { require($resourcesExists, "either a catch or finally clause or both is required for a try-catch-finally statement"); }
         )
     ;