[3/3] groovy git commit: Fix the position issue
Fix the position issue (cherry picked from commit 58bc7a8) Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/699627e1 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/699627e1 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/699627e1 Branch: refs/heads/GROOVY_2_6_X Commit: 699627e17946603bb13f8101d31c40f9af75c101 Parents: 6007654 Author: sunlan Authored: Mon Sep 11 22:25:22 2017 +0800 Committer: sunlan Committed: Mon Sep 11 22:29:00 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/699627e1/src/main/antlr/GroovyParser.g4 -- diff --git a/src/main/antlr/GroovyParser.g4 b/src/main/antlr/GroovyParser.g4 index a3d8869..a03da00 100644 --- a/src/main/antlr/GroovyParser.g4 +++ b/src/main/antlr/GroovyParser.g4 @@ -697,7 +697,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"); } ) ;
groovy git commit: Fix the position issue
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 Authored: Mon Sep 11 22:25:22 2017 +0800 Committer: sunlan 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"); } ) ;