summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-04 18:34:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-04 18:34:06 +0000
commit730b0b12c4080684620b75be6787ebbae98b8418 (patch)
treeca16ba226adf3e724542c88755e890ac8e90d1a9 /scope.c
parent43999f954454f106a60aa261bde57912dbef8b71 (diff)
parentd2a79402699cee58f92911933abdc630babe73e5 (diff)
downloadperl-730b0b12c4080684620b75be6787ebbae98b8418.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4988
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index 7052282edb..91e0374955 100644
--- a/scope.c
+++ b/scope.c
@@ -934,6 +934,13 @@ Perl_leave_scope(pTHX_ I32 base)
}
*(I32*)&PL_hints = (I32)SSPOPINT;
break;
+ case SAVEt_COMPPAD:
+ PL_comppad = (AV*)SSPOPPTR;
+ if (PL_comppad)
+ PL_curpad = AvARRAY(PL_comppad);
+ else
+ PL_curpad = Null(SV**);
+ break;
default:
Perl_croak(aTHX_ "panic: leave_scope inconsistency");
}