summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-03-19 20:35:57 +0000
committerDavid Mitchell <davem@iabyn.com>2015-03-30 12:05:23 +0100
commit2782061f5102a81e1eae39cce864ce172fbea63d (patch)
tree2cedd6da70fe22fdcd3ff1ffc740e1114723ca24 /util.c
parent7c6e85ad045c7a9841bf1c62d1dd22bf1705a168 (diff)
downloadperl-2782061f5102a81e1eae39cce864ce172fbea63d.tar.gz
Revert "Don’t call save_re_context"
This reverts commit d28a9254e445aee7212523d9a7ff62ae0a743fec. Turns out we need save_re_context() after all
Diffstat (limited to 'util.c')
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index e4e684c3ae..8cf62f594d 100644
--- a/util.c
+++ b/util.c
@@ -1529,6 +1529,7 @@ S_invoke_exception_hook(pTHX_ SV *ex, bool warn)
SV *exarg;
ENTER;
+ save_re_context();
if (warn) {
SAVESPTR(*hook);
*hook = NULL;