Commit bcd07252 authored by Ken Thompson's avatar Ken Thompson

export

R=r
OCL=15805
CL=15805
parent c5a29a6d
......@@ -507,7 +507,9 @@ importaddtyp(Node *ss, Type *t)
s = getimportsym(ss);
if(s->otype != T && !eqtype(t, s->otype, 0)) {
yyerror("import redeclaration of %S %lT => %lT\n", s, s->otype, t);
if(!isptrto(t, TFORW))
yyerror("import redeclaration of %lS %lT => %lT\n",
s, s->otype, t);
s->otype = t;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment