From ce2a0931b69fa88934bd83353a47286d69e9c692 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 9 Apr 1991 10:15:48 +0000 Subject: [PATCH] fixed problem with extern declarations --- lang/cem/cemcom.ansi/idf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/cemcom.ansi/idf.c b/lang/cem/cemcom.ansi/idf.c index 00cebe15..080935a9 100644 --- a/lang/cem/cemcom.ansi/idf.c +++ b/lang/cem/cemcom.ansi/idf.c @@ -317,7 +317,7 @@ declare_idf(ds, dc, lvl) break; case L_FORMAL2: /* formal definition */ default: /* local */ - error("%s redeclared", idf->id_text); + if (sc != EXTERN) error("%s redeclared", idf->id_text); break; } }