Regexps have no SvIVX and SvNVX fields.
*/
- assert(SvPOKp(sv));
+ assert(SvPOKp(sv));
+ {
UV value;
const int numtype
= grok_number(SvPVX_const(sv), SvCUR(sv), &value);
not_a_number(sv);
}
return I_V(Atof(SvPVX_const(sv)));
+ }
}
if (SvTHINKFIRST(sv)) {
/* FBMs use the space for SvIVX and SvNVX for other purposes, and use
the same flag bit as SVf_IVisUV, so must not let them cache IVs.
Regexps have no SvIVX and SvNVX fields. */
- assert(SvPOKp(sv));
+ assert(SvPOKp(sv));
+ {
UV value;
const int numtype
= grok_number(SvPVX_const(sv), SvCUR(sv), &value);
not_a_number(sv);
}
return U_V(Atof(SvPVX_const(sv)));
+ }
}
if (SvTHINKFIRST(sv)) {