This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Fix so will compile on C++11
authorKarl Williamson <khw@cpan.org>
Wed, 8 Feb 2017 22:48:56 +0000 (15:48 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 9 Feb 2017 17:06:02 +0000 (10:06 -0700)
See 147e38468b8279e26a0ca11e4efd8492016f2702 for complete explanation

regcomp.c

index 48c8d8d..920ac4e 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -6601,7 +6601,7 @@ S_compile_runtime_code(pTHX_ RExC_state_t * const pRExC_state,
            SV * const errsv = ERRSV;
            if (SvTRUE_NN(errsv))
                 /* use croak_sv ? */
-               Perl_croak_nocontext("%"SVf, SVfARG(errsv));
+               Perl_croak_nocontext("%" SVf, SVfARG(errsv));
        }
        assert(SvROK(qr_ref));
        qr = SvRV(qr_ref);