summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-02-14 02:06:53 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-02-14 02:06:53 +0000
commit0de566d74fdaf0a49123989fe8d4ad06603c6608 (patch)
treea7e6f359c44eb372067a0f7567f1e4ef9953ae22 /op.c
parent21d1ba01f501963c6f61499860ffc70a78ab21c0 (diff)
downloadperl-0de566d74fdaf0a49123989fe8d4ad06603c6608.tar.gz
Switch from byacc to bison and simplify the perly.* regeneration
process p4raw-id: //depot/perl@22302
Diffstat (limited to 'op.c')
-rw-r--r--op.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/op.c b/op.c
index e45b664b93..8a116d763e 100644
--- a/op.c
+++ b/op.c
@@ -1770,7 +1770,10 @@ Perl_block_start(pTHX_ int full)
{
int retval = PL_savestack_ix;
/* If there were syntax errors, don't try to start a block */
- if (PL_yynerrs) return retval;
+ /* 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();
@@ -1794,7 +1797,10 @@ 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 */
- if (PL_yynerrs) return retval;
+ /* 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)