FLOAT did not work
This commit is contained in:
parent
5a28a174e4
commit
937f4e48fe
@ -63,7 +63,7 @@ MkCoercion(pnd, tp)
|
|||||||
if (nd_tp->tp_fund == T_STRING) return;
|
if (nd_tp->tp_fund == T_STRING) return;
|
||||||
nd_tp = BaseType(nd_tp);
|
nd_tp = BaseType(nd_tp);
|
||||||
if (nd->nd_class == Value &&
|
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) {
|
switch(tp->tp_fund) {
|
||||||
case T_SUBRANGE:
|
case T_SUBRANGE:
|
||||||
if (! chk_bounds(tp->sub_lb, nd->nd_INT,
|
if (! chk_bounds(tp->sub_lb, nd->nd_INT,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user