From: Ken Thompson Date: Tue, 23 Sep 2008 21:16:41 +0000 (-0700) Subject: more on export X-Git-Tag: weekly.2009-11-06~3140 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1101d406ece37757350665a35e9db004f59a828c;p=gostls13.git more on export R=r OCL=15704 CL=15704 --- diff --git a/src/cmd/gc/export.c b/src/cmd/gc/export.c index 57b1f31e8a..627d005873 100644 --- a/src/cmd/gc/export.c +++ b/src/cmd/gc/export.c @@ -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 ");