aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.c b/environment.c
index a50d4e32..1786be50 100644
--- a/environment.c
+++ b/environment.c
@@ -255,7 +255,7 @@ env_t *namespace_env(env_t *env, const char *namespace_name)
ns_env->locals = new(table_t, .fallback=env->globals);
Table_str_set(env->type_namespaces, namespace_name, ns_env->locals);
}
- ns_env->scope_prefix = CORD_cat(namespace_name, "$");
+ ns_env->scope_prefix = CORD_all(env->file_prefix, namespace_name, "$");
return ns_env;
}