Browse Source

Fix the link to the constraint

Yentl Van Tendeloo 9 years ago
parent
commit
db0098633f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      bootstrap/modelling.alc

+ 1 - 2
bootstrap/modelling.alc

@@ -243,7 +243,6 @@ Void function add_AL_links(model : Element, list : Element, element : Element, l
 
 	Element link
 	link = dict_read_edge(element, linkname)
-	log(((("LINK with name " + linkname) + " == ") + cast_e2s(link)))
 
 	// The link
 	dict_add(model["model"], "LNK__" + cast_id2s(link), link)
@@ -358,7 +357,7 @@ Void function add_constraint(model : Element, element : String):
 	constraint = construct_function()
 	constraint_name = add_AL(model, constraint)
 	attr_type = find_attribute_type(model, element, "constraint")
-	link_name = instantiate_link(model, reverseKeyLookup(model["model"], attr_type), "", element, constraint_name)
+	instantiate_link(model, attr_type, "", element, constraint_name)
 
 	return