From faa22c0da8971e6661e608f1d0eaffb6e5bc958b Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 5 Oct 1987 16:17:51 +0000 Subject: [PATCH] improved previous fix --- lang/m2/comp/def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/m2/comp/def.c b/lang/m2/comp/def.c index be972ca4..21ecfbd2 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 */