]> Cypherpunks repositories - gostls13.git/commitdiff
more on export
authorKen Thompson <ken@golang.org>
Tue, 23 Sep 2008 21:16:41 +0000 (14:16 -0700)
committerKen Thompson <ken@golang.org>
Tue, 23 Sep 2008 21:16:41 +0000 (14:16 -0700)
R=r
OCL=15704
CL=15704

src/cmd/gc/export.c

index 57b1f31e8a37088c08cc677ccaa1bc9a3bf11bf8..627d0058736af53d332c3813f5d10a7ef18883a9 100644 (file)
@@ -164,7 +164,8 @@ dumpexporttype(Sym *s)
 
        case TPTR32:
        case TPTR64:
-               reexport(t->type);
+               if(t->type != T && t->type->sym == S)
+                       reexport(t->type);
 
                /* type 6 */
                Bprint(bout, "\ttype ");