code for '*(ip = iarr) = x' was wrong
This commit is contained in:
parent
ae3d58b76f
commit
b50e3aeab5
@ -42,7 +42,9 @@ ch3mon(oper, expp)
|
||||
symbol2str((*expp)->ex_type->tp_fund));
|
||||
} else {
|
||||
expr = *expp;
|
||||
if (expr->ex_lvalue == 0 && expr->ex_class != String)
|
||||
if ((expr->ex_type->tp_fund == ARRAY
|
||||
&& expr->ex_class != String)
|
||||
|| expr->ex_type->tp_fund == FUNCTION)
|
||||
/* dereference in administration only */
|
||||
expr->ex_type = expr->ex_type->tp_up;
|
||||
else /* runtime code */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user