diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | match.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2014-07-22 Kaz Kylheku <kaz@kylheku.com> + * match.c (subst_vars): Bugfix: I neglected to apply the + filter which is in effect to the result of interpolating a TXR Lisp + expression, oops! + +2014-07-22 Kaz Kylheku <kaz@kylheku.com> + * parser.y (METANUM): Forgotten %right declaration for this token has been resulting in a shift-reduce conflict. @@ -1411,7 +1411,7 @@ static val subst_vars(val spec, val bindings, val filter) continue; } else if (sym == expr_s) { val result = eval(rest(elem), make_env(bindings, nil, nil), elem); - spec = cons(format(nil, lit("~a"), result, nao), rest(spec)); + spec = cons(filter_string_tree(filter, tostringp(result)), rest(spec)); continue; } else { val nested = subst_vars(elem, bindings, filter); |