bug fix in generating prototypes
This commit is contained in:
parent
4bb6c5c4e8
commit
9e2361fc8f
|
@ -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 ','
|
||||
|
|
Loading…
Reference in a new issue