summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-01 21:17:46 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-01 21:17:46 +0000
commit5b9c067131ee63b4afa00d1d71c771377deb6ff9 (patch)
treef0d23e7597d8b97766a275feb1effc1c8360e3bb /scope.h
parentdef9038f0e6b68e6331316ef6cd457a2bf75dab6 (diff)
downloadperl-5b9c067131ee63b4afa00d1d71c771377deb6ff9.tar.gz
Automatically set HINT_LOCALIZE_HH whenever %^H is modified.
p4raw-id: //depot/perl@27666
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.h b/scope.h
index debae280db..74ab22b367 100644
--- a/scope.h
+++ b/scope.h
@@ -153,7 +153,7 @@ Closing bracket on a callback. See C<ENTER> and L<perlcall>.
SSCHECK(4); \
if (PL_hints & HINT_LOCALIZE_HH) { \
SSPUSHPTR(GvHV(PL_hintgv)); \
- GvHV(PL_hintgv) = newHVhv(GvHV(PL_hintgv)); \
+ GvHV(PL_hintgv) = Perl_hv_copy_hints_hv(aTHX_ GvHV(PL_hintgv)); \
} \
if (PL_compiling.cop_hints) { \
PL_compiling.cop_hints->refcounted_he_refcnt++; \