Commit b64f8f87 authored by Rob Pike's avatar Rob Pike Committed by Andrew Gerrand
Browse files

[release-branch.go1.4] cmd/go: handle \r in input text

Remove carriage returns from //go:generate lines.
Carriage returns are the predecessor of BOMs and still
live on Windows.

Fixes #9264

Change-Id: I637748c74335c696b3630f52f2100061153fcdb4
Reviewed-on: https://go-review.googlesource.com/1564


Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: default avatarAndrew Gerrand <adg@golang.org>
(cherry picked from commit fde3ab84)
Reviewed-on: https://go-review.googlesource.com/4999


Reviewed-by: default avatarDavid Symonds <dsymonds@golang.org>
parent 15ce943f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment