diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1998-06-26 19:28:41 -0400 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-29 06:01:35 +0000 |
commit | e5ff2e2fac61e118d1d2e54a05fa7acdbd10de72 (patch) | |
tree | 564cec3756b2fdc36f8885a6017a9b0eed22dca1 /scope.c | |
parent | 327ce568cc7f5c26b0145e4abfd008a69e4e5c0a (diff) | |
download | perl-e5ff2e2fac61e118d1d2e54a05fa7acdbd10de72.tar.gz |
added patch for overloading constants, made PERL_OBJECT-aware
Message-Id: <199806270328.XAA21088@monk.mps.ohio-state.edu>
p4raw-id: //depot/perl@1259
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -806,6 +806,13 @@ leave_scope(I32 base) case SAVEt_OP: op = (OP*)SSPOPPTR; break; + case SAVEt_NOHINTS: + if (GvHV(hintgv)) { + SvREFCNT_dec((SV*)GvHV(hintgv)); + GvHV(hintgv) = NULL; + } + *(I32*)&hints = (I32)SSPOPINT; + break; default: croak("panic: leave_scope inconsistency"); } |