correction: mixture of old-fashioned with ellipsis is always wrong
This commit is contained in:
parent
cafd4a0497
commit
ba2043808d
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ legal_mixture(tp, otp, diag)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (prot->pl_flag & PL_ELLIPSIS) {
|
if (prot->pl_flag & PL_ELLIPSIS) {
|
||||||
if (diag && !(prot->pl_flag & PL_ERRGIVEN)) {
|
if (prot->pl_flag & PL_ERRGIVEN) {
|
||||||
if (pl)
|
if (pl)
|
||||||
error("illegal ellipsis terminator");
|
error("illegal ellipsis terminator");
|
||||||
else error("ellipsis terminator in previous (prototype) declaration");
|
else error("ellipsis terminator in previous (prototype) declaration");
|
||||||
|
|
Loading…
Reference in a new issue