made error in macro parameter count into a warning
This commit is contained in:
parent
3245258560
commit
ecf93dbf4f
1 changed files with 2 additions and 2 deletions
|
@ -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] = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue