]> oss.titaniummirror.com Git - nesc.git/blobdiff - src/nesc-abstract.c
Pristine nesc-1.3.4
[nesc.git] / src / nesc-abstract.c
index 9db3a16f30f1929f497088a0f1a90839335f4972..3a802a860c03a450f2d0c85b42d089ed92521e15 100644 (file)
@@ -799,7 +799,8 @@ static void instantiate_cg(cgraph copy, cgraph original)
          instantiate_endp(&to);
          cto = endpoint_lookup(copy, &to);
 
-         graph_add_edge(cfrom, cto, NULL);
+         /* User graphs have locations on the edges */
+         graph_add_edge(cfrom, cto, EDGE_GET(location, connection));
        }
     }
 }