diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | RELNOTES | 3 | ||||
-rw-r--r-- | match.c | 3 |
3 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,12 @@ 2011-12-01 Kaz Kylheku <kaz@kylheku.com> + * match.c (v_skip): Bugfix: Nov 12 commit caused regression: + skip min/max arguments not working! + + * RELNOTES: Updated. + +2011-12-01 Kaz Kylheku <kaz@kylheku.com> + Dropping the silly cons return value from txeval. Two interfaces are provided to the function. One throws on unbound variable, the other which evaluates them to the @@ -14,6 +14,9 @@ - Regression in source location tracking (line numbers shown in debugger and trace output). + - Regression in vertical skip directive caused it to ignore + its arguments. + - Fixed :vars () in collect/coll not working as intended. This should prevent any bindings from being collected, and allows iteration with collect without accumulating memory. @@ -1699,7 +1699,7 @@ typedef val (*v_match_func)(match_files_ctx *cout); static val v_skip(match_files_ctx *c) { - val specline = rest(first(c->spec)); + spec_bind (specline, first_spec, c->spec); if (rest(specline)) return decline_k; @@ -1711,7 +1711,6 @@ static val v_skip(match_files_ctx *c) { val skipspec = first(first(c->spec)); - val first_spec = first(specline); val args = rest(first_spec); val max = first(args); val min = second(args); |