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:30:00 -0700 |
commit | aa27a7216cb9bb37acf91419979f07e8c033cdaf (patch) | |
tree | 1f4f8a9f7a59a6ebd851588d8bb8ff0741a7e716 | |
parent | 3685dbd74d4f9930dfe2ce0ffa0547156cf27c1d (diff) | |
download | txr-aa27a7216cb9bb37acf91419979f07e8c033cdaf.tar.gz txr-aa27a7216cb9bb37acf91419979f07e8c033cdaf.tar.bz2 txr-aa27a7216cb9bb37acf91419979f07e8c033cdaf.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 { |