fixed wrong count in popping parameters

This commit is contained in:
ceriel 1989-02-14 14:10:31 +00:00
parent ebce0b4a18
commit 4629647d78

View file

@ -470,10 +470,11 @@ EVAL(expr, val, code, true_label, false_label)
while ( ex->ex_class == Oper &&
ex->OP_OPER == PARCOMMA
) {
EVAL(ex->OP_RIGHT, RVAL,
ex->ex_type->tp_size > 0,
register struct expr *rght = ex->OP_RIGHT;
EVAL(rght, RVAL,
rght->ex_type->tp_size > 0,
NO_LABEL, NO_LABEL);
ParSize += ATW(ex->ex_type->tp_size);
ParSize += ATW(rght->ex_type->tp_size);
ex = ex->OP_LEFT;
}
EVAL(ex, RVAL, ex->ex_type->tp_size > 0,