We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3c8c58 commit a2b66e0Copy full SHA for a2b66e0
pp_ctl.c
@@ -3310,14 +3310,6 @@ PP(pp_goto)
3310
else if (CxMULTICALL(cx))
3311
DIE(aTHX_ "Can't goto subroutine from a sort sub (or similar callback)");
3312
3313
- /* Check for defer { goto &...; } */
3314
- for(ix = cxstack_ix; ix > cxix; ix--) {
3315
- if(CxTYPE(&cxstack[ix]) == CXt_DEFER)
3316
- /* diag_listed_as: Can't "%s" out of a "defer" block */
3317
- croak("Can't \"%s\" out of a \"%s\" block",
3318
- "goto", S_defer_blockname(&cxstack[ix]));
3319
- }
3320
-
3321
/* First do some returnish stuff. */
3322
3323
SvREFCNT_inc_simple_void(cv); /* avoid premature free during unwind */
0 commit comments