summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-17 20:33:42 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-17 20:33:42 +0000
commita7ec2b44b6a6713a67d2b7d1975eb72a28c1caf5 (patch)
tree3157dd5947c6803d2e8047aa7eee5b1305c422cf /pp_ctl.c
parent475d79b5e99617ecaabd8d9765f5247b6d49652c (diff)
downloadperl-a7ec2b44b6a6713a67d2b7d1975eb72a28c1caf5.tar.gz
serious bug introduced by G_VOID changes in 5.003_96: scalar
eval"" did not pop stack correctly; C<$a = eval "(1,2)x1"> is one symptom of the problem p4raw-id: //depot/perl@4401
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 5e45a9c48f..5f937ba9df 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3124,6 +3124,7 @@ PP(pp_leaveeval)
MEXTEND(mark,0);
*MARK = &PL_sv_undef;
}
+ SP = MARK;
}
else {
/* in case LEAVE wipes old return values */