about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-05-21 20:05:16 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-05-21 20:05:16 +0000
commit79a802c74cdcbcb2361a375a7d52c1ed23fb9185 (patch)
tree4c079ecbb756d1eaaff2f77010592bcef61f0ea0
parent3e7b092bc71c3abc7b64dfb05dce060f54ef3d5b (diff)
downloadzsh-79a802c74cdcbcb2361a375a7d52c1ed23fb9185.tar.gz
zsh-79a802c74cdcbcb2361a375a7d52c1ed23fb9185.tar.xz
zsh-79a802c74cdcbcb2361a375a7d52c1ed23fb9185.zip
Added a call to saveandpophiststack(0) to endparamscope() to enable
the new auto-pop feature.
-rw-r--r--Src/params.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/params.c b/Src/params.c
index 4f1d08b92..72e05f9a8 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -3584,6 +3584,7 @@ mod_export void
 endparamscope(void)
 {
     locallevel--;
+    saveandpophiststack(0); /* Pops anything from a higher locallevel */
     scanhashtable(paramtab, 0, 0, 0, scanendscope, 0);
 }