summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-09-10 16:07:30 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-09-15 22:45:09 -0700
commitd2c8bf052f5a8bb99050f6d2418d77151eb4b468 (patch)
treef0349e7fbd6b24359e94fabd44efc0f57dd090a0 /scope.h
parentc388b2138d3ec12be3c986d57c518d41d042e7a1 (diff)
downloadperl-d2c8bf052f5a8bb99050f6d2418d77151eb4b468.tar.gz
Set PL_comppad_name on sub entry
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 { \