diff options
| author | 2022-10-09 13:16:56 +0200 | |
|---|---|---|
| committer | 2022-10-09 13:16:56 +0200 | |
| commit | 25cb8be7614ce4e21a1a3a4673abb51cf8dbf823 (patch) | |
| tree | cbc57c611d9db976d27b2f5d91ffba966f174b5f /pez.c | |
| parent | a8874ced3f222cc5f4ed963a09c3491ac36610a6 (diff) | |
no need to explicitely close vars in top scope
Diffstat (limited to 'pez.c')
| -rw-r--r-- | pez.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2192,7 +2192,7 @@ endscope(Comp *cm) } else { if (!l->has_k) { --cm->fenv.nvars; - if (l->mutable) { + if (l->mutable && l->scope > 0) { TRY(compop(cm, Oclose) && compbyte(cm, l->index)); } } |