]> Cypherpunks repositories - gostls13.git/commit
gc: reject import paths containing special characters
authorAnthony Martin <ality@pbrane.org>
Fri, 24 Feb 2012 19:48:36 +0000 (14:48 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 24 Feb 2012 19:48:36 +0000 (14:48 -0500)
commitdc38756ce12e83c9466afaa4d439da03303fec7b
tree0f634bbb106dd41bdce03fc29f6810ca836ad4c5
parent490c3d4a426b197283bf3a02bedd84654a268f28
gc: reject import paths containing special characters

Also allow multiple invalid import statements in a
single file.

Fixes #3021. The changes to go/parser and the
language specifcation have already been committed.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/5672084
src/cmd/gc/go.h
src/cmd/gc/go.y
src/cmd/gc/lex.c
src/cmd/gc/subr.c
src/cmd/gc/y.tab.c
src/cmd/gc/y.tab.h
src/cmd/gc/yerr.h
test/import5.go