Skip to content

Commit 02384ec

Browse files
author
H. Peter Anvin
committed
doc: add clarification to %sel()
Add clarification that %sel(), like %cond(), never expands non-selected arguments. Signed-off-by: H. Peter Anvin <[email protected]>
1 parent d9b36e3 commit 02384ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/nasmdoc.src

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2919,6 +2919,8 @@ expands to nothing.
29192919
\c %define b 2
29202920
\c %xdefine bstr %sel(b,"one","two","three") ; %define bstr "two"
29212921

2922+
The arguments not selected are never expanded.
2923+
29222924

29232925
\S{f_str} \i\c\{%str()} Function
29242926

0 commit comments

Comments
 (0)