From: ceriel Date: Tue, 3 Dec 1991 10:56:40 +0000 (+0000) Subject: bug fix in generating prototypes X-Git-Tag: release-5-5~568 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9e2361fc8f96a3afd6d5a4951bb725116f704d29;p=ack.git bug fix in generating prototypes --- diff --git a/util/LLgen/src/gencode.c b/util/LLgen/src/gencode.c index b987bc882..2c0f780e1 100644 --- a/util/LLgen/src/gencode.c +++ b/util/LLgen/src/gencode.c @@ -470,9 +470,11 @@ getansiparams(mkdef) { ltext[0] = '\0'; while ((l = gettok()) != ENDDECL) { - if (delayed) { - fputc(',', fpars); - delayed = 0; + if (l > 0177 || c_class[l] != ISSPA) { + if (delayed) { + fputc(',', fpars); + delayed = 0; + } } if ((l == ';' || l == ',') && ltext[0] != '\0') { /*