diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-12-25 00:51:15 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-12-25 00:51:15 -0800 |
commit | 03511c1af9217b9a18e6fc3b85fb8f2a62488322 (patch) | |
tree | d52987a226ac9c6f09be8635ac88ce601fc86e1d | |
parent | 894aec019d3ce82f861a5777236ac079c2f2388d (diff) | |
download | txr-03511c1af9217b9a18e6fc3b85fb8f2a62488322.tar.gz txr-03511c1af9217b9a18e6fc3b85fb8f2a62488322.tar.bz2 txr-03511c1af9217b9a18e6fc3b85fb8f2a62488322.zip |
* match.c (v_next): Change flatten to lazy_flatten in the
correct place. In the previous commit I did it in the code that handles
the obsolescent :var syntax.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | match.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2011-12-25 Kaz Kylheku <kaz@kylheku.com> + * match.c (v_next): Change flatten to lazy_flatten in the + correct place. In the previous commit I did it in the code that handles + the obsolescent :var syntax. + +2011-12-25 Kaz Kylheku <kaz@kylheku.com> + * eval.c (eval_init): New function interned. * lib.c:x (lazy_flatten_scan, lazy_flatten_func): New static functions. @@ -1985,7 +1985,7 @@ static val v_next(match_files_ctx *c) val list_val = txeval(specline, list_expr, c->bindings); cons_bind (new_bindings, success, match_files(mf_file_data(*c, lit("var"), - flatten(list_val), num(1)))); + lazy_flatten(list_val), num(1)))); if (success) return cons(new_bindings, |