%ixdefine, not %xidefine

The docs had %xidefine, the code has %ixdefine.  The code wins.
This commit is contained in:
H. Peter Anvin 2007-11-29 13:10:08 -08:00
parent 501735eecb
commit c780557e15

View File

@ -1917,13 +1917,13 @@ You can \i{pre-define} single-line macros using the `-d' option on
the NASM command line: see \k{opt-d}.
\S{xdefine} Enhancing %define: \I\c{%xidefine}\i\c{%xdefine}
\S{xdefine} Enhancing %define: \I\c{%ixdefine}\i\c{%xdefine}
To have a reference to an embedded single-line macro resolved at the
time that it is embedded, as opposed to when the calling macro is
expanded, you need a different mechanism to the one offered by
\c{%define}. The solution is to use \c{%xdefine}, or it's
\I{case sensitive}case-insensitive counterpart \c{%xidefine}.
\I{case sensitive}case-insensitive counterpart \c{%ixdefine}.
Suppose you have the following code: