summaryrefslogtreecommitdiff
path: root/doc/nasmdoc.src
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-11-29 13:10:08 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-11-29 13:10:08 -0800
commitc780557e15e71fd5ae8f1314d2f64cce03dddc89 (patch)
treeede4911d662745adeb27fc4d0e11170e2dc33070 /doc/nasmdoc.src
parent501735eecbc799046d37898bc44199007e3057e3 (diff)
downloadnasm-c780557e15e71fd5ae8f1314d2f64cce03dddc89.tar.gz
nasm-c780557e15e71fd5ae8f1314d2f64cce03dddc89.tar.bz2
nasm-c780557e15e71fd5ae8f1314d2f64cce03dddc89.zip
%ixdefine, not %xidefine
The docs had %xidefine, the code has %ixdefine. The code wins.
Diffstat (limited to 'doc/nasmdoc.src')
-rw-r--r--doc/nasmdoc.src4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index b964eff..bed8e65 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -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: