diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-02-15 00:24:26 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-02-15 00:24:26 +0000 |
commit | 500bedb6c28d0918a4bd28632e742d0905ce8519 (patch) | |
tree | 3bbed23b46dd15027bd2173c4d593faea7275821 /op.c | |
parent | 9388183fea7d692a0a6ded83ccc01767a8af49cf (diff) | |
download | perl-500bedb6c28d0918a4bd28632e742d0905ce8519.tar.gz |
[perl #25824] Segmentation fault with
sub x { shift; @a = @b; eval +{ use } }
p4raw-id: //depot/perl@22306
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -1769,12 +1769,6 @@ int Perl_block_start(pTHX_ int full) { int retval = PL_savestack_ix; - /* If there were syntax errors, don't try to start a block */ - /* XXX DAPM 13-Feb-04. This symbol no longer gloabl. Think of a better - * way - * if (PL_yynerrs) return retval; - */ - pad_block_start(full); SAVEHINTS(); PL_hints &= ~HINT_BLOCK_SCOPE; @@ -1796,11 +1790,6 @@ Perl_block_end(pTHX_ I32 floor, OP *seq) { int needblockscope = PL_hints & HINT_BLOCK_SCOPE; OP* retval = scalarseq(seq); - /* If there were syntax errors, don't try to close a block */ - /* XXX DAPM 13-Feb-04. This symbol no longer gloabl. Think of a better - * way - * if (PL_yynerrs) return retval; - */ LEAVE_SCOPE(floor); PL_compiling.op_private = (U8)(PL_hints & HINT_PRIVATE_MASK); if (needblockscope) |