public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cafd4a0
)
correction: mixture of old-fashioned with ellipsis is always wrong
author
ceriel
<none@none>
Wed, 3 Apr 1991 10:02:40 +0000
(10:02 +0000)
committer
ceriel
<none@none>
Wed, 3 Apr 1991 10:02:40 +0000
(10:02 +0000)
lang/cem/cemcom.ansi/ch3.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/ch3.c
b/lang/cem/cemcom.ansi/ch3.c
index
8f71703
..
b6fed17
100644
(file)
--- 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");