As documented, %MACRO expects a particular format
for its parameter count. While the first count can
be followed by '-', '+', or nothing, that restric-
tion is not enforced. For example, a '=' (e.g. a
mis-typed '-'), or a '*' (i.e. missing '-') should
cause a warning or an error.
%macro mmac1 1=
%macro mmac2 1*
The same probably applies to %IFMACRO -- I haven't
checked it yet, since it was introduced only very
recently. (Oh, and while we are at that -- shouldn't
it have been named %IFDEFM, to match %IFDEF? :-)
Log in to post a comment.