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,10 +470,12 @@ getansiparams(mkdef) {
ltext[0] = '\0';
while ((l = gettok()) != ENDDECL) {
if (l > 0177 || c_class[l] != ISSPA) {
if (delayed) {
fputc(',', fpars);
delayed = 0;
}
}
if ((l == ';' || l == ',') && ltext[0] != '\0') {
/*
* The last identifier found before a ';' or a ','