diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-18 01:02:13 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-18 01:02:13 -0400 |
| commit | 708e7b9070deb8a0e9694241447242cbcdae17b1 (patch) | |
| tree | 649a13998e43789f8b959e37453e85ad025b718a /environment.c | |
| parent | 2158bb97fc2a9744c5ed1bf4b5cd056498904925 (diff) | |
Remove dead code
Diffstat (limited to 'environment.c')
| -rw-r--r-- | environment.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/environment.c b/environment.c index 0c2a1d3b..33b30c69 100644 --- a/environment.c +++ b/environment.c @@ -429,14 +429,6 @@ env_t *load_module_env(env_t *env, ast_t *ast) return module_env; } -env_t *global_scope(env_t *env) -{ - env_t *scope = new(env_t); - *scope = *env; - scope->locals = new(Table_t, .fallback=env->globals); - return scope; -} - env_t *namespace_scope(env_t *env) { env_t *scope = new(env_t); |
