summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-08-23 13:42:07 +0000
committerArtur Bergman <sky@nanisky.com>2001-08-23 13:42:07 +0000
commite9818f4e43c2a32001637ddc206c1fcc9148cd06 (patch)
treec04e20bac563825cac751f5f2900b20f1d8fc71c /op.c
parentf8620f40b7cfcb15ec0e1f5b65ee5854b02c13fa (diff)
downloadperl-e9818f4e43c2a32001637ddc206c1fcc9148cd06.tar.gz
Backed out 11732, it breaks lib/strict.t
p4raw-id: //depot/perl@11735
Diffstat (limited to 'op.c')
-rw-r--r--op.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/op.c b/op.c
index 6dcd7463f7..677fe7a231 100644
--- a/op.c
+++ b/op.c
@@ -2147,8 +2147,7 @@ Perl_block_end(pTHX_ I32 floor, OP *seq)
{
int needblockscope = PL_hints & HINT_BLOCK_SCOPE;
OP* retval = scalarseq(seq);
- if (!PL_error_count)
- LEAVE_SCOPE(floor);
+ LEAVE_SCOPE(floor);
PL_pad_reset_pending = FALSE;
PL_compiling.op_private = PL_hints;
if (needblockscope)