summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-10 01:59:53 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-10 01:59:53 -0700
commit22a3f567c0d7b4801a1b0838231073572d766795 (patch)
treeebab8e09b4608a93395df5feb84fb29185e6f4ce
parentb3c554555687886e2a521cf0fb0b27ef9d51d306 (diff)
downloadnasm-22a3f567c0d7b4801a1b0838231073572d766795.tar.gz
changes.src: document %00 fix
Add %00 fix to release note. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--doc/changes.src2
-rw-r--r--doc/nasmdoc.src4
2 files changed, 6 insertions, 0 deletions
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}