Just saw that Daniel's mail already showed a '"' and "'" example...
-------- Ursprüngliche Nachricht --------Von: mg <[email protected]> Datum: 
30.03.18  16:52  (GMT+01:00) An: [email protected] Betreff: Re: About 
triple quoted string 
Unless one of the EOG* sees a problem with that, that would be a helpful 
improvement in my case, since I have occasionally run into that in my SQL 
generator (I assume it also works for double quotes, Daniel ?) :-)mg

*Elders of Groovy
-------- Ursprüngliche Nachricht --------Von: Paul King <[email protected]> 
Datum: 30.03.18  16:03  (GMT+01:00) An: [email protected] Betreff: Re: 
About triple quoted string 
See also:
https://issues.apache.org/jira/browse/GROOVY-8524


On Fri, Mar 30, 2018 at 11:03 PM, Daniel.Sun <[email protected]> wrote:
Hi all,



    The old parser does not support code like '''str='abc'''' and

"""str="abc"""" and goes wrong, but the new parser Parrot supports them now.

The improvement conforms to "Least Surprise" principle IMO.



    Any thoughts?





Cheers,

Daniel.Sun









https://github.com/apache/groovy/commit/7e7b508c02bf35e72fca1efcb7cc0d8a4f25038a







--

Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html



Reply via email to