diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-04 22:48:51 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-04 22:48:51 +0000 |
commit | a651a37dec6d3a9749ac62309467d43599db4547 (patch) | |
tree | 78696eed2cfa3b34739b4e84ac2128ec01d73d46 /pp_ctl.c | |
parent | abdc5761ee5f136ed19d1012429c3fdf2e3671c5 (diff) | |
download | perl-a651a37dec6d3a9749ac62309467d43599db4547.tar.gz |
s/block/loop block/ in diagnostics about next, last, redo
p4raw-id: //depot/perl@4646
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1861,7 +1861,7 @@ PP(pp_last) if (PL_op->op_flags & OPf_SPECIAL) { cxix = dopoptoloop(cxstack_ix); if (cxix < 0) - DIE(aTHX_ "Can't \"last\" outside a block"); + DIE(aTHX_ "Can't \"last\" outside a loop block"); } else { cxix = dopoptolabel(cPVOP->op_pv); @@ -1939,7 +1939,7 @@ PP(pp_next) if (PL_op->op_flags & OPf_SPECIAL) { cxix = dopoptoloop(cxstack_ix); if (cxix < 0) - DIE(aTHX_ "Can't \"next\" outside a block"); + DIE(aTHX_ "Can't \"next\" outside a loop block"); } else { cxix = dopoptolabel(cPVOP->op_pv); @@ -1964,7 +1964,7 @@ PP(pp_redo) if (PL_op->op_flags & OPf_SPECIAL) { cxix = dopoptoloop(cxstack_ix); if (cxix < 0) - DIE(aTHX_ "Can't \"redo\" outside a block"); + DIE(aTHX_ "Can't \"redo\" outside a loop block"); } else { cxix = dopoptolabel(cPVOP->op_pv); @@ -2343,7 +2343,7 @@ PP(pp_goto) /* FALL THROUGH */ case CXt_FORMAT: case CXt_NULL: - DIE(aTHX_ "Can't \"goto\" outside a block"); + DIE(aTHX_ "Can't \"goto\" out of a pseudo block"); default: if (ix) DIE(aTHX_ "panic: goto"); |