aboutsummaryrefslogtreecommitdiff
path: root/changes/smartlist_foreach
diff options
context:
space:
mode:
Diffstat (limited to 'changes/smartlist_foreach')
-rw-r--r--changes/smartlist_foreach2
1 files changed, 2 insertions, 0 deletions
diff --git a/changes/smartlist_foreach b/changes/smartlist_foreach
index d1e350546..0a6c96042 100644
--- a/changes/smartlist_foreach
+++ b/changes/smartlist_foreach
@@ -2,3 +2,5 @@
- Do not allow the body of any SMARTLIST_FOREACH block to exceed
10 lines. Doing so in the past has led to hard-to-debug code.
The new style is to use the SMARTLIST_FOREACH_{BEGIN,END} pair.
+ - Do not allow SMARTLIST_FOREACH blocks to nest. Any nested block
+ ought to be using SMARTLIST_FOREACH_{BEGIN,END}.