[nasm:nasm-2.16.xx] doc: correct a minor problem in the grammar for Dx statements

nasm-bot for H. Peter Anvin hpa at zytor.com
Fri Oct 13 21:15:08 PDT 2023


Commit-ID:  d7d51e39ce58f11c690f87840a2d6b744680af8a
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=d7d51e39ce58f11c690f87840a2d6b744680af8a
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 13 Oct 2023 21:10:59 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Fri, 13 Oct 2023 21:10:59 -0700

doc: correct a minor problem in the grammar for Dx statements

The production "value := type value" was not correct; should have been
"type atom", which can be merged with the "atom" production to "[type]
atom".

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


---
 doc/nasmdoc.src | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 3b5ea462..51531eba 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -1310,7 +1310,7 @@ keywords:
 \c      parlist := '(' value [, value ...] ')'
 \c      duplist := expression DUP [type] ['%'] parlist
 \c      list    := duplist | '%' parlist | type ['%'] parlist
-\c      value   := atom | type value | list
+\c      value   := [type] atom | list
 \c
 \c      stmt    := dx value [, value...]
 


More information about the Nasm-commits mailing list