File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ since 2007.
99
1010\S{cl-2.15.05} Version 2.15.05
1111
12- \b Correct \c{%ifid $} and \c{%ifid $$} being treated as true. See
13- \k{iftyp}.
12+ \b Fix \c{%ifid $} and \c{%ifid $$} incorrectly being treated as
13+ true. See \k{iftyp}.
1414
1515\b Add \c{--reproducible} option to suppress NASM version numbers and
1616timestamps in output files. See \k{opt-reproducible}.
Original file line number Diff line number Diff line change @@ -3376,9 +3376,13 @@ string.
33763376
33773377The conditional assembly construct \c{%ifid}, taking one parameter
33783378(which may be blank), assembles the subsequent code if and only if
3379- the first token in the parameter exists and is an identifier.
3380- \c{%ifnum} works similarly, but tests for the token being a numeric
3381- constant; \c{%ifstr} tests for it being a string.
3379+ \e{the first token} in the parameter exists and is an
3380+ identifier. \c{$} and \c{$$} are \e{not} considered identifiers by
3381+ \c{%ifid}.
3382+
3383+ \c{%ifnum} works similarly, but tests for the token being an integer
3384+ numeric constant (not an expression!) possibly preceeded by \c{+} or
3385+ \c{-}; \c{%ifstr} tests for it being a quoted string.
33823386
33833387For example, the \c{writefile} macro defined in \k{mlmacgre} can be
33843388extended to take advantage of \c{%ifstr} in the following fashion:
You can’t perform that action at this time.
0 commit comments