diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-26 21:30:00 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-26 21:39:26 -0700 |
commit | d369e7c7a36adbcbd886927825a20ab6fc11782b (patch) | |
tree | 1f4f8a9f7a59a6ebd851588d8bb8ff0741a7e716 | |
parent | 3e8ffce49faa414d970d43ec7396ebad82a32add (diff) | |
download | txr-d369e7c7a36adbcbd886927825a20ab6fc11782b.tar.gz txr-d369e7c7a36adbcbd886927825a20ab6fc11782b.tar.bz2 txr-d369e7c7a36adbcbd886927825a20ab6fc11782b.zip |
Separator expression in @(cat) evaluated as Lisp.
* match.c (v_cat): Use tleval_144 instead of txeval.
-rw-r--r-- | match.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3284,7 +3284,7 @@ static val v_cat(match_files_ctx *c) } else { val existing = tx_lookup_var(sym, c->bindings); if (existing) { - val sep = if3(sep_form, txeval(specline, sep_form, c->bindings), + val sep = if3(sep_form, tleval_144(specline, sep_form, c->bindings), lit(" ")); set(cdr_l(existing), cat_str(flatten(cdr(existing)), sep)); } else { |