From: Russ Cox Date: Wed, 11 Feb 2015 03:22:33 +0000 (-0500) Subject: cmd/gc: use go.builtin as package prefix, not go%2ebuiltin X-Git-Tag: go1.5beta1~2044 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7c3eeda66f46ed12a4f1472ef4878904fe5a8e33;p=gostls13.git cmd/gc: use go.builtin as package prefix, not go%2ebuiltin This matches all the other pseudo-packages. The line was simply forgotten. Change-Id: I278f6cbcfc883ea7efad07f99fc8c853b9b5d274 Reviewed-on: https://go-review.googlesource.com/4591 Reviewed-by: Austin Clements --- diff --git a/src/cmd/gc/lex.c b/src/cmd/gc/lex.c index 01dd1664cb..bad4123575 100644 --- a/src/cmd/gc/lex.c +++ b/src/cmd/gc/lex.c @@ -179,6 +179,7 @@ gcmain(int argc, char *argv[]) // pseudo-package, for scoping builtinpkg = mkpkg(newstrlit("go.builtin")); + builtinpkg->prefix = "go.builtin"; // not go%2ebuiltin // pseudo-package, accessed by import "unsafe" unsafepkg = mkpkg(newstrlit("unsafe"));