some more fixes

This commit is contained in:
ceriel
1987-07-22 10:59:24 +00:00
parent 03c5092815
commit 0bffe65c24
7 changed files with 19 additions and 6 deletions

View File

@@ -574,6 +574,7 @@ node_error(right, "type incompatibility in RETURN statement");
CodePString(right, func_type);
}
else CodePExpr(right);
RangeCheck(func_type, right->nd_type);
}
C_bra(RETURN_LABEL);
break;