summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/match.c b/match.c
index 81cf7c8d..9d5a0a6b 100644
--- a/match.c
+++ b/match.c
@@ -4609,14 +4609,14 @@ static val v_load(match_files_ctx *c)
cat_str(nappend2(sub_list(split_str(parent, lit("/")),
zero, negone),
cons(target, nil)), lit("/")));
- val stream, name;
+ val stream, name = target;
val txr_lisp_p = nil;
val ret = nil;
val saved_dyn_env = dyn_env;
val load_dyn_env = make_env(nil, nil, dyn_env);
val rec = cdr(lookup_var(nil, load_recursive_s));
- open_txr_file(path, &txr_lisp_p, &name, &stream, self);
+ open_txr_file(path, &txr_lisp_p, &name, &stream, t, self);
uw_simple_catch_begin;