public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb1897
)
Yet another fix. ChkUnOper can also be called with a COERCION operator,
author
ceriel
<none@none>
Thu, 28 Jan 1988 14:05:34 +0000
(14:05 +0000)
committer
ceriel
<none@none>
Thu, 28 Jan 1988 14:05:34 +0000
(14:05 +0000)
when NEW and DISPOSE are expanded
lang/m2/comp/chk_expr.c
patch
|
blob
|
history
diff --git
a/lang/m2/comp/chk_expr.c
b/lang/m2/comp/chk_expr.c
index
bfb7744
..
c567487
100644
(file)
--- a/
lang/m2/comp/chk_expr.c
+++ b/
lang/m2/comp/chk_expr.c
@@
-914,6
+914,7
@@
ChkUnOper(expp)
register t_node *right = expp->nd_right;
register t_type *tpr;
+ if (expp->nd_symb == COERCION) return 1;
if (expp->nd_symb == '(') {
*expp = *right;
free_node(right);