From 2c15bef39460c09b2a7846a30a4fc1fc1c4f93e4 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 18 Jul 1999 03:51:03 +0000 Subject: remove spurious newSTATEOP() that causes goto to enter one too many contexts when jumping between if and elsif blocks p4raw-id: //depot/perl@3692 --- perly.y | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perly.y') diff --git a/perly.y b/perly.y index f1de7c751e..2594c087f7 100644 --- a/perly.y +++ b/perly.y @@ -174,8 +174,7 @@ else : /* NULL */ { $$ = scope($2); } | ELSIF '(' mexpr ')' mblock else { PL_copline = $1; - $$ = newSTATEOP(0, Nullch, - newCONDOP(0, $3, scope($5), $6)); + $$ = newCONDOP(0, $3, scope($5), $6); PL_hints |= HINT_BLOCK_SCOPE; } ; -- cgit v1.2.1