diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-12-01 15:36:18 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-12-01 15:36:18 -0800 |
commit | ea7e47310617551ada9e165918351805c8cfe6f9 (patch) | |
tree | 3450b94a6b1539dc8d66b7c2b4e58e07411ef488 /match.c | |
parent | 2496d222fb0a451372989e846a1db0ec4e6e6fa6 (diff) | |
download | txr-ea7e47310617551ada9e165918351805c8cfe6f9.tar.gz txr-ea7e47310617551ada9e165918351805c8cfe6f9.tar.bz2 txr-ea7e47310617551ada9e165918351805c8cfe6f9.zip |
* match.c (v_skip): Bugfix: Nov 12 commit caused regression:
skip min/max arguments not working!
* RELNOTES: Updated.
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |