made error in macro parameter count into a warning

This commit is contained in:
ceriel 1987-01-08 14:57:18 +00:00
parent 8c67176f3d
commit 6e706da0f4

View File

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