This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get blocks.t working under miniperl
[perl5.git] / pp_sort.c
index e205201..f75ecd9 100644 (file)
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1507,7 +1507,7 @@ PP(pp_sort)
     SAVEVPTR(PL_sortcop);
     if (flags & OPf_STACKED) {
        if (flags & OPf_SPECIAL) {
-           OP *nullop = cLISTOP->op_first->op_sibling; /* pass pushmark */
+           OP *nullop = OP_SIBLING(cLISTOP->op_first); /* pass pushmark */
             assert(nullop->op_type == OP_NULL);
            PL_sortcop = nullop->op_next;
        }