docs internal note
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 25 Sep 2022 11:44:23 +0000 (12:44 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 25 Sep 2022 11:44:23 +0000 (12:44 +0100)
doc/doc-docbook/spec.xfpt

index 8c54931fe65038c584bd7ed58f2897d9c04a8dbe..af601665e160edf116f8bf1d4fc0c86f7745136c 100644 (file)
@@ -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.