Yet another fix. ChkUnOper can also be called with a COERCION operator,
when NEW and DISPOSE are expanded
This commit is contained in:
parent
40e790fd6c
commit
75035f2f6e
@ -914,6 +914,7 @@ ChkUnOper(expp)
|
|||||||
register t_node *right = expp->nd_right;
|
register t_node *right = expp->nd_right;
|
||||||
register t_type *tpr;
|
register t_type *tpr;
|
||||||
|
|
||||||
|
if (expp->nd_symb == COERCION) return 1;
|
||||||
if (expp->nd_symb == '(') {
|
if (expp->nd_symb == '(') {
|
||||||
*expp = *right;
|
*expp = *right;
|
||||||
free_node(right);
|
free_node(right);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user