From: ceriel Date: Mon, 5 Oct 1987 16:17:51 +0000 (+0000) Subject: improved previous fix X-Git-Tag: release-5-5~3814 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e61b887e3136e1740d14954fc0ad50b89574ee0d;p=ack.git improved previous fix --- diff --git a/lang/m2/comp/def.c b/lang/m2/comp/def.c index be972ca42..21ecfbd22 100644 --- a/lang/m2/comp/def.c +++ b/lang/m2/comp/def.c @@ -74,7 +74,7 @@ MkDef(id, scope, kind) df->df_kind = kind; df->df_next = id->id_def; id->id_def = df; - if (kind == D_ERROR) df->df_type = error_type; + if (kind == D_ERROR || kind == D_FORWARD) df->df_type = error_type; /* enter the definition in the list of definitions in this scope */