iscomposite test in OCONV is unnecessary

now that OCOMP exists

R=ken
OCL=22216
CL=22216
This commit is contained in:
Russ Cox 2009-01-07 12:39:48 -08:00
parent 179af0bb19
commit 855495eab6

View file

@ -878,8 +878,6 @@ pexpr:
{
$$ = nod(OCONV, $3, N);
$$->type = oldtype($1);
if(iscomposite($$->type))
yyerror("illegal conversion type %T", $$->type);
}
| convtype '{' braced_keyexpr_list '}'
{