diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-17 20:40:40 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-17 20:40:40 -0400 |
| commit | 655b6778955c8da782365d86326d3afceccc9a6b (patch) | |
| tree | 701ada7fddf151e4e85ada21507cb5b2fda4d70a /environment.c | |
| parent | 46ee3fc0efc60c3af47c92390d207ce843671b5b (diff) | |
Preface symbols with file prefix
Diffstat (limited to 'environment.c')
| -rw-r--r-- | environment.c | 2 |
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; } |
