FLOAT did not work
authorceriel <none@none>
Mon, 24 Aug 1987 14:23:13 +0000 (14:23 +0000)
committerceriel <none@none>
Mon, 24 Aug 1987 14:23:13 +0000 (14:23 +0000)
lang/m2/comp/chk_expr.c

index 54acae5..b469a60 100644 (file)
@@ -63,7 +63,7 @@ MkCoercion(pnd, tp)
        if (nd_tp->tp_fund == T_STRING) return;
        nd_tp = BaseType(nd_tp);
        if (nd->nd_class == Value &&
-           (nd_tp->tp_fund != T_REAL && tp->tp_fund != REAL)) {
+           (nd_tp->tp_fund != T_REAL && tp->tp_fund != T_REAL)) {
                switch(tp->tp_fund) {
                case T_SUBRANGE:
                        if (! chk_bounds(tp->sub_lb, nd->nd_INT,