mirror of
https://github.com/golang/go
synced 2024-11-05 12:06:15 -07:00
cmd/gc: replace NULL by nil
In CL 3964, NULL was used instead of nil. However, Plan 9 doesn't declare NULL. Change-Id: Ied3850aca5c8bca5974105129a37d575df33f6ec Reviewed-on: https://go-review.googlesource.com/5150 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
3a0fbfab57
commit
2bcfe8b935
@ -140,8 +140,8 @@ closurename(Node *n)
|
||||
if(n->sym != S)
|
||||
return n->sym;
|
||||
gen = 0;
|
||||
outer = NULL;
|
||||
prefix = NULL;
|
||||
outer = nil;
|
||||
prefix = nil;
|
||||
if(n->outerfunc == N) {
|
||||
// Global closure.
|
||||
outer = "glob";
|
||||
|
Loading…
Reference in New Issue
Block a user