made error in macro parameter count into a warning
authorceriel <none@none>
Thu, 8 Jan 1987 14:57:18 +0000 (14:57 +0000)
committerceriel <none@none>
Thu, 8 Jan 1987 14:57:18 +0000 (14:57 +0000)
lang/cem/cemcom/scan.c

index d75f874..2dde8b7 100644 (file)
@@ -61,12 +61,12 @@ getactuals(idef)
                /*      argument mismatch: too many or too few
                        actual parameters.
                */
-               lexerror("argument mismatch, %s", idef->id_text);
+               lexwarning("argument mismatch, %s", idef->id_text);
 
                while (++nr_of_params < acnt) {
                        /*      too few paraeters: remaining actuals are ""
                        */
-                       actparams[nr_of_params] = (char *) 0;
+                       actparams[nr_of_params] = "";
                }
        }