summaryrefslogtreecommitdiff
path: root/doc/nasmdoc.src
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-16 17:01:40 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-16 17:01:40 -0800
commit134b94665d0eebfaa8c6c46058eb76188d42582e (patch)
tree82444f5f344685badc9341a73edffdf59c0479fb /doc/nasmdoc.src
parent3f3bd41de017db8e7449f5b1345cd80ab77d2571 (diff)
downloadnasm-2.02rc2.tar.gz
Add %ifempty and variantsnasm-2.02rc2
Diffstat (limited to 'doc/nasmdoc.src')
-rw-r--r--doc/nasmdoc.src9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index ebb0f159..0751655c 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -2736,6 +2736,15 @@ not (\c{-} being an operator.)
The usual \i\c{%eliftoken}, \i\c\{%ifntoken}, and \i\c{%elifntoken}
variants are also provided.
+\S{ifempty} \i\c{%ifempty}: Test For Empty Expansion
+
+The conditional assembly construct \c{%ifempty} assembles the
+subsequent code if and only if the expanded parameters do not contain
+any tokens at all, whitespace excepted.
+
+The usual \i\c{%elifempty}, \i\c\{%ifnempty}, and \i\c{%elifnempty}
+variants are also provided.
+
\S{pperror} \i\c{%error}: Reporting \i{User-Defined Errors}
The preprocessor directive \c{%error} will cause NASM to report an