[nasm:nasm-2.15.xx] changes.src: document %00 fix

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Fri Jul 10 02:03:03 PDT 2020


Commit-ID:  22a3f567c0d7b4801a1b0838231073572d766795
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=22a3f567c0d7b4801a1b0838231073572d766795
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Fri, 10 Jul 2020 01:59:53 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Fri, 10 Jul 2020 01:59:53 -0700

changes.src: document %00 fix

Add %00 fix to release note.

Signed-off-by: H. Peter Anvin (Intel) <hpa at zytor.com>


---
 doc/changes.src | 2 ++
 doc/nasmdoc.src | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/doc/changes.src b/doc/changes.src
index 47fb03b4..3dc85deb 100644
--- a/doc/changes.src
+++ b/doc/changes.src
@@ -25,6 +25,8 @@ section type.
 where one or more parts result from empty token expansion, resulting
 in \c{%+} tokens at the beginning or end, or multiple ones in a row.
 
+\b Fix macro label capture (\c{%00}, \k{percent00}).
+
 \b Portability fixes.
 
 \S{cl-2.15.02} Version 2.15.02
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 62a70d57..26e4db27 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -2935,6 +2935,10 @@ Examples are given in \k{rotate}.
 label must be on the same line as the macro invocation, may be a local label
 (see \k{locallab}), and need not end in a colon.
 
+If \c{%00} is present anywhere in the macro body, the label itself
+will not be emitted by NASM. You can, of course, put \c{%00:}
+explicitly at the beginning of your macro.
+
 
 \S{rotate} \i\c{%rotate}: \i{Rotating Macro Parameters}
 


More information about the Nasm-commits mailing list