fix typo and parameters of overflow
authorceriel <none@none>
Tue, 8 Mar 1988 10:35:53 +0000 (10:35 +0000)
committerceriel <none@none>
Tue, 8 Mar 1988 10:35:53 +0000 (10:35 +0000)
lang/m2/comp/cstoper.c
lang/m2/comp/walk.c

index 2d15237..62987f0 100644 (file)
@@ -295,10 +295,10 @@ cstubin(expp)
                        if (expp->nd_type->tp_fund == T_INTORCARD) {
                                expp->nd_type = int_type;
                                if (! chk_bounds(min_int[sz], o1 - o2, T_CARDINAL)) {
-                                       overflow();
+                                       overflow(expp);
                                }
                        }
-                       else    overflow();
+                       else    overflow(expp);
                }
                o1 -= o2;
                break;
index 792eb55..e9cec07 100644 (file)
@@ -230,7 +230,7 @@ WalkProcedure(procedure)
        DoFilename(procedure->prc_body);
        TmpOpen(procscope);
 
-       func_type = tp = RemoveEqual(RresultType(procedure->df_type));
+       func_type = tp = RemoveEqual(ResultType(procedure->df_type));
 
        if (tp) {
                func_res_size = WA(tp->tp_size);