summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-02-15 00:24:26 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-02-15 00:24:26 +0000
commit500bedb6c28d0918a4bd28632e742d0905ce8519 (patch)
tree3bbed23b46dd15027bd2173c4d593faea7275821 /op.c
parent9388183fea7d692a0a6ded83ccc01767a8af49cf (diff)
downloadperl-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.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/op.c b/op.c
index 8a116d763e..871a0f62cf 100644
--- a/op.c
+++ b/op.c
@@ -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)