Commit 8a5a54c3 8a5a54c3c7f4cbc32f805c499afea0f5923cd7a2 by Sergey Poznyakoff

(fi production): Preserve the result of the last comparison.

1 parent 670ab827
......@@ -265,14 +265,12 @@ if : IF
fi : FI
{
/* False branch of an if-block */
$$.cond = mh_code_number (0);
mh_code_op (mhop_num_asgn);
$$.cond = mh_code_op (mhop_num_asgn);
/* Jump over the true branch */
mh_code_op (mhop_branch);
mh_code_op (3);
mh_code_op (2);
/* True branch */
$$.end = mh_code_number (1);
mh_code_op (mhop_num_asgn);
$$.end = mh_code_op (mhop_num_asgn);
}
;
......