Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/bc
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ my @yyss;
my @yyvs;
$yyss[$YYSTACKSIZE] = 0;
$yyvs[$YYSTACKSIZE] = 0;
sub YYERROR { &yy_err_recover; }

sub yy_err_recover
{
if ($yyerrflag < 3)
Expand Down Expand Up @@ -2567,7 +2567,7 @@ sub exec_stmt
$return = 0; # so the result will be printed
} elsif($return == 2) {
print STDERR "No enclosing while or for";
YYERROR;
yy_err_recover();
} elsif($return == 3) {
$return = 0;
}
Expand Down