From: ceriel Date: Wed, 3 Apr 1991 10:02:40 +0000 (+0000) Subject: correction: mixture of old-fashioned with ellipsis is always wrong X-Git-Tag: release-5-5~1147 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ba2043808d47f635a2b41de941ad75d466bc8c7d;p=ack.git correction: mixture of old-fashioned with ellipsis is always wrong --- diff --git a/lang/cem/cemcom.ansi/ch3.c b/lang/cem/cemcom.ansi/ch3.c index 8f717031b..b6fed17fb 100644 --- a/lang/cem/cemcom.ansi/ch3.c +++ b/lang/cem/cemcom.ansi/ch3.c @@ -531,7 +531,7 @@ legal_mixture(tp, otp, diag) } if (prot->pl_flag & PL_ELLIPSIS) { - if (diag && !(prot->pl_flag & PL_ERRGIVEN)) { + if (prot->pl_flag & PL_ERRGIVEN) { if (pl) error("illegal ellipsis terminator"); else error("ellipsis terminator in previous (prototype) declaration");