[nasm:nasm-2.16.xx] doc: correct %expr -> %eval
nasm-bot for H. Peter Anvin
hpa at zytor.com
Fri Oct 13 17:18:03 PDT 2023
Commit-ID: 156b61b614c544b1f97915333c1f1086d90f28fc
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=156b61b614c544b1f97915333c1f1086d90f28fc
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 13 Oct 2023 17:14:11 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Fri, 13 Oct 2023 17:14:11 -0700
doc: correct %expr -> %eval
%expr() was a pre-release development name for this function, however,
the released name is %eval().
See BR 3392837.
Reported-by: Michael <mikar_gibbros at yahoo.com>
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 b16d1964..ddf8b630 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -2912,8 +2912,8 @@ one argument is specified, it is expanded to a comma-separated list of
values.
\c %assign a 2
-\c %assign b 3
-\c %defstr what %expr(a+b,a*b) ; equivalent to %define what "5,6"
+\c %assign b 3
+\c %defstr what %eval(a+b,a*b) ; equivalent to %define what "5,6"
The expressions passed to \c{%eval()} are \i{critical expressions},
see \k{crit}.
More information about the Nasm-commits
mailing list