From 7c3eeda66f46ed12a4f1472ef4878904fe5a8e33 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 10 Feb 2015 22:22:33 -0500 Subject: [PATCH] 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 --- src/cmd/gc/lex.c | 1 + 1 file changed, 1 insertion(+) 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"));