Commit 466dd8da authored by Ken Thompson's avatar Ken Thompson

6g crash re mail from gri jun 18.

R=r
OCL=30719
CL=30719
parent 2ce8b444
......@@ -1629,7 +1629,7 @@ embedded(Sym *s)
if(s == S)
return n;
n->type = oldtype(s);
if(isptr[n->type->etype])
if(n->type != T && isptr[n->type->etype])
yyerror("embedded type cannot be a pointer");
return n;
}
......
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