Skip to content

Commit 0679aca

Browse files
author
Branislav Zahradník
committed
fixup! [op.c] Break fragile long-distance dependency on keyword list order
1 parent 74afe9d commit 0679aca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

op.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16177,6 +16177,7 @@ Perl_coresub_op(pTHX_ SV * const coreargssv, const int code,
1617716177
case KEY___PACKAGE__: caller_index = 0; break; /* (caller)[0] */
1617816178
case KEY___FILE__: caller_index = 1; break; /* (caller)[1] */
1617916179
case KEY___LINE__: caller_index = 2; break; /* (caller)[2] */
16180+
default: assert (caller_index > 0);
1618016181
}
1618116182

1618216183
return op_append_elem(OP_LINESEQ,

0 commit comments

Comments
 (0)