[nasm:master] document `%imacro` → `%unimacro` (case-insensitive)

nasm-bot for Kai Burghardt hackerman at KaiBurghardt.de
Mon Nov 7 17:12:34 PST 2022


Commit-ID:  d88660fc1e21f8bad1a7935f2bdca1cc5364d1ce
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=d88660fc1e21f8bad1a7935f2bdca1cc5364d1ce
Author:     Kai Burghardt <hackerman at KaiBurghardt.de>
AuthorDate: Sun, 9 Oct 2022 19:24:41 +0000
Committer:  Kai Burghardt <hackerman at KaiBurghardt.de>
CommitDate: Sun, 9 Oct 2022 19:24:41 +0000

document `%imacro` → `%unimacro` (case-insensitive)

There is no documentation of the `%unimacro` directive.
This is particularly confusing when you’re trying to remove a macro
that has previously been defined with the `%imacro` directive.


---
 doc/nasmdoc.src | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 91b4cf7c..ae81df5b 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -3194,7 +3194,7 @@ Or like this:
 
 \c %macro bar 1-5+.nolist a,b,c,d,e,f,g,h
 
-\S{unmacro} Undefining Multi-Line Macros: \i\c{%unmacro}
+\S{unmacro} Undefining Multi-Line Macros: \I\c{%unimacro}\i\c{%unmacro}
 
 Multi-line macros can be removed with the \c{%unmacro} directive.
 Unlike the \c{%undef} directive, however, \c{%unmacro} takes an
@@ -3218,6 +3218,8 @@ removes the previously defined macro \c{foo}, but
 does \e{not} remove the macro \c{bar}, since the argument
 specification does not match exactly.
 
+A case-insensitive macro needs to be removed with the \c{%unimacro}
+directive.
 
 \H{condasm} \i{Conditional Assembly}\I\c{%if}
 


More information about the Nasm-commits mailing list