made error in macro parameter count into a warning
This commit is contained in:
parent
8c67176f3d
commit
6e706da0f4
@ -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] = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user