diff options
author | Yves Orton <demerphq@gmail.com> | 2016-10-19 14:35:16 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2016-10-19 14:35:16 +0200 |
commit | 31775478b5d0b13861042933fc993c5f57c69f5a (patch) | |
tree | afe147992a0dc6dd26923e027329cb9651a571bd | |
parent | 794826f458d760d13e8727e0e0a3fd7fe79faabd (diff) | |
download | perl-31775478b5d0b13861042933fc993c5f57c69f5a.tar.gz |
pp_(hot|ctl).c: switch croak() to Perl_croak() for win32
-rw-r--r-- | pp_ctl.c | 2 | ||||
-rw-r--r-- | pp_hot.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -165,7 +165,7 @@ PP(pp_regcomp) /* Handle empty pattern */ if (!RX_PRELEN(PM_GETRE(pm)) && PL_curpm) { if (PL_curpm == PL_reg_curpm) - croak("Use of the empty pattern inside of " + Perl_croak(aTHX_ "Use of the empty pattern inside of " "a regex code block is forbidden"); pm = PL_curpm; } @@ -1765,7 +1765,7 @@ PP(pp_match) possible, except for qr// */ if (!ReANY(rx)->mother_re && !RX_PRELEN(rx) && PL_curpm) { if (PL_curpm == PL_reg_curpm) - croak("Use of the empty pattern inside of " + Perl_croak(aTHX_ "Use of the empty pattern inside of " "a regex code block is forbidden"); pm = PL_curpm; rx = PM_GETRE(pm); @@ -2965,7 +2965,7 @@ PP(pp_subst) /* handle the empty pattern */ if (!RX_PRELEN(rx) && PL_curpm && !ReANY(rx)->mother_re) { if (PL_curpm == PL_reg_curpm) - croak("Use of the empty pattern inside of " + Perl_croak(aTHX_ "Use of the empty pattern inside of " "a regex code block is forbidden"); pm = PL_curpm; rx = PM_GETRE(pm); |