From 71cacde9c896a1532247a349a298e68fd20500a8 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 20 Nov 2011 12:02:13 -0800 Subject: 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. --- RELNOTES | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'RELNOTES') 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. -- cgit v1.2.3