summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index 200a1fea..1e0e00e7 100644
--- a/match.c
+++ b/match.c
@@ -663,7 +663,7 @@ static val h_var(match_line_ctx *c)
return repeat_spec_k;
} else if (consp(modifier) || regexp(modifier)) { /* var bound over text matched by form */
cons_bind (new_bindings, new_pos,
- match_line(ml_specline(*c, modifiers)));
+ match_line(ml_specline(*c, cons(modifier, nil))));
if (!new_pos) {
LOG_MISMATCH("var spanning form");