Skip to content

Commit 69cc407

Browse files
committed
sv.h Convert _crash to legal name
1 parent 4dafb72 commit 69cc407

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

sv.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,19 +2672,19 @@ Evaluates C<sv> more than once. Sets C<len> to 0 if C<SvOOK(sv)> is false.
26722672
# define SvOOK_offset(sv, offset) STMT_START { \
26732673
STATIC_ASSERT_STMT(sizeof(offset) == sizeof(STRLEN)); \
26742674
if (SvOOK(sv)) { \
2675-
const U8 *_crash = (U8*)SvPVX_const(sv); \
2676-
(offset) = *--_crash; \
2675+
const U8 *crash_ = (U8*)SvPVX_const(sv); \
2676+
(offset) = *--crash_; \
26772677
if (!(offset)) { \
2678-
_crash -= sizeof(STRLEN); \
2679-
Copy(_crash, (U8 *)&(offset), sizeof(STRLEN), U8); \
2678+
crash_ -= sizeof(STRLEN); \
2679+
Copy(crash_, (U8 *)&(offset), sizeof(STRLEN), U8); \
26802680
} \
26812681
{ \
26822682
/* Validate the preceding buffer's sentinels to \
26832683
verify that no-one is using it. */ \
26842684
const U8 *const _bonk = (U8*)SvPVX_const(sv) - (offset);\
2685-
while (_crash > _bonk) { \
2686-
--_crash; \
2687-
assert (*_crash == (U8)PTR2UV(_crash)); \
2685+
while (crash_ > _bonk) { \
2686+
--crash_; \
2687+
assert (*crash_ == (U8)PTR2UV(crash_)); \
26882688
} \
26892689
} \
26902690
} else { \

0 commit comments

Comments
 (0)