modified.
p4raw-id: //depot/perl@29525
# define BmUSEFUL(sv) ((XPVBM*) SvANY(sv))->xiv_u.xivu_i32
# define BmPREVIOUS(sv) ((XPVBM*) SvANY(sv))->xbm_previous
#endif
+#define BmPREVIOUS_set(sv, val) \
+ STMT_START { assert(SvTYPE(sv) == SVt_PVBM); \
+ (((XPVBM*)SvANY(sv))->xbm_previous = (U16)(val)); } STMT_END
#define FmLINES(sv) ((XPVFM*) SvANY(sv))->xfm_lines
}
}
BmRARE(sv) = s[rarest];
- BmPREVIOUS(sv) = (U16)rarest;
+ BmPREVIOUS_set(sv, rarest);
BmUSEFUL(sv) = 100; /* Initial value */
if (flags & FBMcf_TAIL)
SvTAIL_on(sv);