about summary refs log tree commit diff
path: root/Src/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/params.c')
-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);
 }