X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=nesc.git;a=blobdiff_plain;f=src%2Fnesc-abstract.c;h=3a802a860c03a450f2d0c85b42d089ed92521e15;hp=9db3a16f30f1929f497088a0f1a90839335f4972;hb=627b462e8421954b5102d839ff203adb3400a8cc;hpb=7b54393e237ed8f23c0c74f0a6cbc8de26c5bf98 diff --git a/src/nesc-abstract.c b/src/nesc-abstract.c index 9db3a16..3a802a8 100644 --- a/src/nesc-abstract.c +++ b/src/nesc-abstract.c @@ -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)); } } }