You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/05/10 22:27:18 UTC

[50/50] [abbrv] 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 leavi

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/35f0fa07
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/35f0fa07
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/35f0fa07

Branch: refs/heads/parrot
Commit: 35f0fa07e3b9eeabeab9e07b5f205979530b3b54
Parents: 6284259
Author: paulk <pa...@asert.com.au>
Authored: Wed May 10 12:33:26 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Thu May 11 08:26:03 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/35f0fa07/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/35f0fa07/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/35f0fa07/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/$