summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-09-25 12:44:23 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-09-25 12:44:23 +0100
commit8338ea45ce618ae72502c63aba5812155ca53052 (patch)
treea482e5ba2270ec810e971021c9fd869601b5d209
parenta3d3e7ef81a649d2bbd6599fc561cf22c6875e70 (diff)
docs internal note
-rw-r--r--doc/doc-docbook/spec.xfpt11
1 files changed, 11 insertions, 0 deletions
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.