From dd67502468c409288ce0a0b336fa21ac907a4893 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 19 Apr 1994 10:04:53 +0000 Subject: [PATCH] Minor fix --- lang/cem/cemcom.ansi/idf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/cem/cemcom.ansi/idf.c b/lang/cem/cemcom.ansi/idf.c index 84d0d0309..85db5054d 100644 --- a/lang/cem/cemcom.ansi/idf.c +++ b/lang/cem/cemcom.ansi/idf.c @@ -262,6 +262,10 @@ actual_declaration(sc, tp) if (fund == FUNCTION || fund == ARRAY) /* allocation solved in other ways */ return 0; + if (sc == EXTERN && fund == VOID) { + /* strange, but should be accepted */ + return 0; + } /* to be allocated */ return 1; } -- 2.34.1