Gitweb:
https://git.exim.org/exim.git/commitdiff/8338ea45ce618ae72502c63aba5812155ca53052
Commit: 8338ea45ce618ae72502c63aba5812155ca53052
Parent: a3d3e7ef81a649d2bbd6599fc561cf22c6875e70
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Sep 25 12:44:23 2022 +0100
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Sun Sep 25 12:44:23 2022 +0100
docs internal note
---
doc/doc-docbook/spec.xfpt | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 8c54931fe..af601665e 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -10511,6 +10511,17 @@ At the end of a &*reduce*& expansion, the values of &$item$& and &$value$& are
restored to what they were before. See also the &%filter%& and &%map%&
expansion items.
+. A bit of a special-case logic error in writing an expansion;
+. probably not worth including in the mainline of documentation.
+. If only we had footnotes (the html output variant is the problem).
+.
+. .new
+. &*Note*&: if an &'expansion condition'& is used in <&'string3'&>
+. and that condition modifies &$value$&,
+. then the string expansions dependent on the condition cannot use
+. the &$value$& of the reduce iteration.
+. .wen
+
.vitem &*$rheader_*&<&'header&~name'&>&*:*&&~or&~&*$rh_*&<&'header&~name'&>&*:*&
This item inserts &"raw"& header lines. It is described with the &%header%&
expansion item in section &<<SECTexpansionitems>>& above.