bug fix in generating prototypes
authorceriel <none@none>
Tue, 3 Dec 1991 10:56:40 +0000 (10:56 +0000)
committerceriel <none@none>
Tue, 3 Dec 1991 10:56:40 +0000 (10:56 +0000)
util/LLgen/src/gencode.c

index b987bc8..2c0f780 100644 (file)
@@ -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') {
                        /*