summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-22 17:45:45 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-22 17:45:45 -0700
commit25a993488ca79dc469ae6363ad062f9fbda19492 (patch)
tree4a70edc0f0448f0791648ca2acd69927bc436e65 /doc
parent441ad9d9b2a8a2c9e7804b4b97d881fa9495c9d6 (diff)
downloadnasm-25a993488ca79dc469ae6363ad062f9fbda19492.tar.gz
BR 1783117: Document that %+ needs a space after it, and fix crash
Document that %+ needs a space after it due to collision with %+1 syntax for multiline macro arguments; make it issue an error message rather than crashing.
Diffstat (limited to 'doc')
-rw-r--r--doc/nasmdoc.src3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index c79cd39b..79db7e54 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -1891,6 +1891,9 @@ Individual tokens in single line macros can be concatenated, to produce
longer tokens for later processing. This can be useful if there are
several similar macros that perform similar functions.
+Please note that a space is required after \c{%+}, in order to
+disambiguate it from the syntax \c{%+1} used in multiline macros.
+
As an example, consider the following:
\c %define BDASTART 400h ; Start of BIOS data area