From ecf93dbf4f9369970167779b7b9ea8d8a4f9eaa2 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 8 Jan 1987 14:57:18 +0000 Subject: [PATCH] made error in macro parameter count into a warning --- lang/cem/cemcom/scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/cem/cemcom/scan.c b/lang/cem/cemcom/scan.c index d75f87433..2dde8b795 100644 --- a/lang/cem/cemcom/scan.c +++ b/lang/cem/cemcom/scan.c @@ -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] = ""; } }