mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-30 16:41:05 +08:00
%ixdefine, not %xidefine
The docs had %xidefine, the code has %ixdefine. The code wins.
This commit is contained in:
parent
501735eecb
commit
c780557e15
@ -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}.
|
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
|
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
|
time that it is embedded, as opposed to when the calling macro is
|
||||||
expanded, you need a different mechanism to the one offered by
|
expanded, you need a different mechanism to the one offered by
|
||||||
\c{%define}. The solution is to use \c{%xdefine}, or it's
|
\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:
|
Suppose you have the following code:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user