made error in macro parameter count into a warning

This commit is contained in:
ceriel 1987-01-08 14:57:18 +00:00
parent 3245258560
commit ecf93dbf4f

View 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] = "";
}
}