[nasm:nasm-2.16.xx] doc: one more correction to the Dx syntax grammar
nasm-bot for H. Peter Anvin
hpa at zytor.com
Fri Oct 13 21:18:03 PDT 2023
Commit-ID: 2a5c87362b23b7d4337d79b96fb0623d0f803984
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=2a5c87362b23b7d4337d79b96fb0623d0f803984
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 13 Oct 2023 21:15:25 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Fri, 13 Oct 2023 21:15:25 -0700
doc: one more correction to the Dx syntax grammar
The commas in the lists are literal commas.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
doc/nasmdoc.src | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 51531eba..2167f7a1 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -1307,12 +1307,12 @@ keywords:
\c dx := DB | DW | DD | DQ | DT | DO | DY | DZ
\c type := BYTE | WORD | DWORD | QWORD | TWORD | OWORD | YWORD | ZWORD
\c atom := expression | string | float | '?'
-\c parlist := '(' value [, value ...] ')'
+\c parlist := '(' value [',' value ...] ')'
\c duplist := expression DUP [type] ['%'] parlist
\c list := duplist | '%' parlist | type ['%'] parlist
\c value := [type] atom | list
\c
-\c stmt := dx value [, value...]
+\c stmt := dx value [',' value ...]
\> Note that a \e{list} needs to be prefixed with a \I{%db}\c{%} sign unless
prefixed by either \c{DUP} or a \e{type} in order to avoid confusing it with
More information about the Nasm-commits
mailing list