Quantcast

groovy git commit: GString literals can exist within source files at restricted places (originally related to parser restrictions because they start with the same character as comments). They can't start directly after a comment but leaving a blank line

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

groovy git commit: GString literals can exist within source files at restricted places (originally related to parser restrictions because they start with the same character as comments). They can't start directly after a comment but leaving a blank line

paulk
Repository: groovy
Updated Branches:
  refs/heads/master 9e7908a9e -> cbf34783f


GString literals can exist within source files at restricted places (originally related to parser restrictions because they start with the same character as comments). They can't start directly after a comment but leaving a blank line is sufficient.


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

Branch: refs/heads/master
Commit: cbf34783f573e8bdf56744d8d9db56a84f64d694
Parents: 9e7908a
Author: paulk <[hidden email]>
Authored: Wed May 10 12:33:26 2017 +1000
Committer: paulk <[hidden email]>
Committed: Wed May 10 12:33:26 2017 +1000

----------------------------------------------------------------------
 subprojects/parser-antlr4/src/test/resources/core/GString_02.groovy | 1 +
 subprojects/parser-antlr4/src/test/resources/core/GString_06.groovy | 1 +
 subprojects/parser-antlr4/src/test/resources/core/Literal_03.groovy | 1 +
 3 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/cbf34783/subprojects/parser-antlr4/src/test/resources/core/GString_02.groovy
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/test/resources/core/GString_02.groovy b/subprojects/parser-antlr4/src/test/resources/core/GString_02.groovy
index 2e69232..a995cb1 100644
--- a/subprojects/parser-antlr4/src/test/resources/core/GString_02.groovy
+++ b/subprojects/parser-antlr4/src/test/resources/core/GString_02.groovy
@@ -16,6 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
+
 /abc${'123'}def $a.b.c,d${->12}/
 $/${-12}abc${'123'}def $a.b.c,d${->12}/$
 

http://git-wip-us.apache.org/repos/asf/groovy/blob/cbf34783/subprojects/parser-antlr4/src/test/resources/core/GString_06.groovy
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/test/resources/core/GString_06.groovy b/subprojects/parser-antlr4/src/test/resources/core/GString_06.groovy
index 18d5770..fa222dc 100644
--- a/subprojects/parser-antlr4/src/test/resources/core/GString_06.groovy
+++ b/subprojects/parser-antlr4/src/test/resources/core/GString_06.groovy
@@ -16,4 +16,5 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
+
 /At $date/
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/groovy/blob/cbf34783/subprojects/parser-antlr4/src/test/resources/core/Literal_03.groovy
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/test/resources/core/Literal_03.groovy b/subprojects/parser-antlr4/src/test/resources/core/Literal_03.groovy
index 865596b..5c81362 100644
--- a/subprojects/parser-antlr4/src/test/resources/core/Literal_03.groovy
+++ b/subprojects/parser-antlr4/src/test/resources/core/Literal_03.groovy
@@ -16,6 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
+
 /\123 \/ abc \u1234 \r\n\$/
 
 $/\123 \/ abc \u1234 \r\n/$

Loading...