]> Cypherpunks repositories - gostls13.git/commit
gc: allow ~ in import paths
authorRob Pike <r@golang.org>
Tue, 13 Mar 2012 05:03:19 +0000 (16:03 +1100)
committerRob Pike <r@golang.org>
Tue, 13 Mar 2012 05:03:19 +0000 (16:03 +1100)
commitd0a4c9bb626df78230613162b0dc07c72855b3c1
tree94dbddcf959acb79f24cde97c7e8f999cb6b8eab
parentc405b58f3fa7988d42b5e5e46910344f342c5b45
gc: allow ~ in import paths
Windows has paths like C:/Users/ADMIN~1. Also, it so happens
that go/parser allows ~ in import paths. So does the spec.
Fixes the build too.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5777073
src/cmd/gc/subr.c