From e096bc3fb38626fd3a806b17d88e22ac3f57d7ac 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 00cebe159..080935a91 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; } }