fixed wrong count in popping parameters
This commit is contained in:
parent
ebce0b4a18
commit
4629647d78
|
@ -470,10 +470,11 @@ EVAL(expr, val, code, true_label, false_label)
|
||||||
while ( ex->ex_class == Oper &&
|
while ( ex->ex_class == Oper &&
|
||||||
ex->OP_OPER == PARCOMMA
|
ex->OP_OPER == PARCOMMA
|
||||||
) {
|
) {
|
||||||
EVAL(ex->OP_RIGHT, RVAL,
|
register struct expr *rght = ex->OP_RIGHT;
|
||||||
ex->ex_type->tp_size > 0,
|
EVAL(rght, RVAL,
|
||||||
|
rght->ex_type->tp_size > 0,
|
||||||
NO_LABEL, NO_LABEL);
|
NO_LABEL, NO_LABEL);
|
||||||
ParSize += ATW(ex->ex_type->tp_size);
|
ParSize += ATW(rght->ex_type->tp_size);
|
||||||
ex = ex->OP_LEFT;
|
ex = ex->OP_LEFT;
|
||||||
}
|
}
|
||||||
EVAL(ex, RVAL, ex->ex_type->tp_size > 0,
|
EVAL(ex, RVAL, ex->ex_type->tp_size > 0,
|
||||||
|
|
Loading…
Reference in a new issue