bug fix in generating prototypes

This commit is contained in:
ceriel 1991-12-03 10:56:40 +00:00
parent 4bb6c5c4e8
commit 9e2361fc8f

View file

@ -470,9 +470,11 @@ getansiparams(mkdef) {
ltext[0] = '\0'; ltext[0] = '\0';
while ((l = gettok()) != ENDDECL) { while ((l = gettok()) != ENDDECL) {
if (delayed) { if (l > 0177 || c_class[l] != ISSPA) {
fputc(',', fpars); if (delayed) {
delayed = 0; fputc(',', fpars);
delayed = 0;
}
} }
if ((l == ';' || l == ',') && ltext[0] != '\0') { if ((l == ';' || l == ',') && ltext[0] != '\0') {
/* /*