summaryrefslogtreecommitdiffstats
path: root/RELNOTES
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-11-20 12:02:13 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-11-20 12:02:13 -0800
commit71cacde9c896a1532247a349a298e68fd20500a8 (patch)
tree685d2fe504ac2b1cab28144f386e72039992b635 /RELNOTES
parent811b58e8f70fac421a905a2b627449dfd079958c (diff)
downloadtxr-71cacde9c896a1532247a349a298e68fd20500a8.tar.gz
txr-71cacde9c896a1532247a349a298e68fd20500a8.tar.bz2
txr-71cacde9c896a1532247a349a298e68fd20500a8.zip
Relaxing :vars in collect/coll a little bit.
* match.c (h_coll, v_collect): Only throw an error about missing required variables if the collect iteration collected some new variables. This allows strict collects with :vars to have some cases which explicitly match and skip unwanted material, without binding variables. Also, print all missing variables in the diagnostic. * txr.1: Mention this special exception. * RELNOTES: Updated.
Diffstat (limited to 'RELNOTES')
-rw-r--r--RELNOTES5
1 files changed, 5 insertions, 0 deletions
diff --git a/RELNOTES b/RELNOTES
index 79e7043c..20142bdb 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -38,6 +38,11 @@ Version 042
- Stability fix: several long-time uninitialized variable bugs found,
and some faulty object initialization orders.
+ - :vars in @(collect)/@(coll) does not fire an exception about missing
+ required variables if no variable bindings are produced at all,
+ allowing strict collects to have explicit matches for unwanted material
+ without triggering this nuisance error.
+
Internal
- New infrastructure for matching location info to source forms.