summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scope.h b/scope.h
index 0fad9a38a4..a69be5fe79 100644
--- a/scope.h
+++ b/scope.h
@@ -208,7 +208,8 @@ scope has the given name. Name must be a literal string.
#define SAVEHINTS() save_hints()
-#define SAVECOMPPAD() save_pushptr(MUTABLE_SV(PL_comppad), SAVEt_COMPPAD)
+#define SAVECOMPPAD() save_pushptrptr(MUTABLE_SV(PL_comppad_name), \
+ MUTABLE_SV(PL_comppad), SAVEt_COMPPAD)
#define SAVESWITCHSTACK(f,t) \
STMT_START { \