From: ceriel Date: Mon, 24 Aug 1987 14:23:13 +0000 (+0000) Subject: FLOAT did not work X-Git-Tag: release-5-5~3866 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=99f8e49e93fc303e6024ec56304d056e5476757a;p=ack.git FLOAT did not work --- diff --git a/lang/m2/comp/chk_expr.c b/lang/m2/comp/chk_expr.c index 54acae581..b469a606b 100644 --- a/lang/m2/comp/chk_expr.c +++ b/lang/m2/comp/chk_expr.c @@ -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,