work on type inference some more
[ccc.git] / sem / scc.c
index fa47590..6d7b02e 100644 (file)
--- a/sem/scc.c
+++ b/sem/scc.c
@@ -271,10 +271,11 @@ struct ast *ast_scc(struct ast *ast)
        struct edge **edata = (struct edge **)
                list_to_array(edges, &nedges, false);
 
+       fprintf(stderr, "nfun: %d, ffun: %d, nedges: %d\n", nfun, ffun, nedges);
        // Do tarjan's and convert back into the declaration list
        struct components *cs = tarjans(nfun, (void **)fundecls, nedges, edata);
-       if (cs == NULL)
-               die("malformed edges in tarjan's????");
+//     if (cs == NULL)
+//             die("malformed edges in tarjan's????");
 
        int i = ffun;
        for (struct components *c = cs; c != NULL; c = c->next) {