]> Cypherpunks repositories - gostls13.git/commit
spec: skip carriage returns in raw literals
authorRob Pike <r@golang.org>
Thu, 15 Dec 2011 05:52:41 +0000 (21:52 -0800)
committerRob Pike <r@golang.org>
Thu, 15 Dec 2011 05:52:41 +0000 (21:52 -0800)
commitc26ca912e500bd0e681cfda366d3b69f8769c9c2
tree72655dd235955142f7966d7f069d187226dfee88
parent2ad8a9c507ede9621bb1cd1f8d02f6cdac7a9e88
spec: skip carriage returns in raw literals

This change guarantees that whether the line ending convention
when the source is created includes carriage returns is irrelevant
to the value of the string. See issue 680.

The compilers do not yet implement this.

R=golang-dev, adg, r, gri, rsc, iant
CC=golang-dev
https://golang.org/cl/5491043
doc/go_spec.html