]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: use go.builtin as package prefix, not go%2ebuiltin
authorRuss Cox <rsc@golang.org>
Wed, 11 Feb 2015 03:22:33 +0000 (22:22 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 11 Feb 2015 21:45:22 +0000 (21:45 +0000)
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 <austin@google.com>
src/cmd/gc/lex.c

index 01dd1664cb6a2cf514129c80cb8907a31a93d170..bad4123575f4437ed3eb06f08691ce0c354c0718 100644 (file)
@@ -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"));