mods to handle forward references better

This commit is contained in:
ceriel
1988-06-30 14:50:30 +00:00
parent fa9e4c5ea3
commit 74c779b81e
5 changed files with 94 additions and 57 deletions

View File

@@ -1137,7 +1137,6 @@ ChkStandard(expp)
case S_ORD:
if (! (left = getarg(&arg, T_NOSUB, 0, edf))) return 0;
MkCoercion(&(arg->nd_left), BaseType(left->nd_type));
expp->nd_type = card_type;
if (arg->nd_left->nd_class == Value) {
arg->nd_left->nd_type = card_type;