]> Cypherpunks repositories - gostls13.git/commit
gc: add delete(m, x) but leave in m[x] = 0, false.
authorRuss Cox <rsc@golang.org>
Tue, 18 Oct 2011 13:41:32 +0000 (09:41 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 18 Oct 2011 13:41:32 +0000 (09:41 -0400)
commit1d687c742ddad0be83314019c03e17bad7235535
tree955b843e6b84723e9bd35003bd97963a0bfc6dd3
parent1095305232b80fe23a14e0eb5d520bac91223572
gc: add delete(m, x) but leave in m[x] = 0, false.

The old m[x] = 0, false syntax will be deleted
in a month or so, once people have had time to
change their code (there is a gofix in a separate CL).

R=ken2
CC=golang-dev
https://golang.org/cl/5265048
src/cmd/gc/builtin.c.boot
src/cmd/gc/go.h
src/cmd/gc/lex.c
src/cmd/gc/runtime.go
src/cmd/gc/subr.c
src/cmd/gc/typecheck.c
src/cmd/gc/walk.c
src/pkg/runtime/hashmap.c