diff options
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1392,8 +1392,7 @@ static val subst_vars(val spec, val bindings, val filter) if (sym == var_s) { val expr = second(elem); - val pat = third(elem); - val modifiers = fourth(elem); + val modifiers = third(elem); val str = txeval(spec, expr, bindings); /* If the object is a list, we let format_field deal with the @@ -1402,9 +1401,6 @@ static val subst_vars(val spec, val bindings, val filter) if (!stringp(str) && !listp(str)) str = tostringp(str); - if (pat) - spec = cons(pat, rest(spec)); - if (modifiers) { spec = cons(format_field(str, modifiers, filter, curry_123_2(func_n3(txeval), spec, bindings)), |