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; }