better error message
authorceriel <none@none>
Thu, 28 Jan 1988 16:54:33 +0000 (16:54 +0000)
committerceriel <none@none>
Thu, 28 Jan 1988 16:54:33 +0000 (16:54 +0000)
lang/m2/comp/walk.c

index 3d8ec57..a61b766 100644 (file)
@@ -447,7 +447,7 @@ WalkStat(nd, exit_label)
        case '(':
                if (ChkCall(nd)) {
                        if (nd->nd_type != 0) {
-                               node_error(nd, "procedure call expected");
+                               node_error(nd, "illegal function call");
                                break;
                        }
                        CodeCall(nd);