浏览代码

Remove old files

Yentl Van Tendeloo 8 年之前
父节点
当前提交
043631f3e8
共有 2 个文件被更改,包括 0 次插入38 次删除
  1. 二进制
      bootstrap/bootstrap.m.gz
  2. 0 38
      bootstrap/modelling.alc

二进制
bootstrap/bootstrap.m.gz


+ 0 - 38
bootstrap/modelling.alc

@@ -364,44 +364,6 @@ Void function unset_attribute(model : Element, element : String, attribute : Str
 
 	return!
 
-Void function add_AL_links_old(model : Element, list : Element, element : Element, type: String, linkname : String, expected_type : String):
-	if (bool_not(dict_in(element, linkname))):
-		return!
-
-	Element link
-	String link_name
-
-	link = dict_read_edge(element, linkname)
-	link_name = "__" + cast_id2s(link)
-
-	// The link
-	dict_add(model["model"], link_name, link)
-	dict_add(model["type_mapping"], link_name, (type + "_") + linkname)
-
-	// The name link
-	link = read_out(link, 0)
-	link_name = "__" + cast_id2s(link)
-
-	dict_add(model["model"], link_name, link)
-	dict_add(model["type_mapping"], link_name, "to_str")
-
-	// The name node
-	link = read_edge_dst(link)
-	link_name = "__" + cast_id2s(link)
-
-	if (bool_not(set_in_node(model["model"], link))):
-		dict_add(model["model"], link_name, link)
-		dict_add(model["type_mapping"], link_name, "String")
-
-	// Now add the destination to the worker list
-	Element node
-	node = create_node()
-	list_append(node, element[linkname])
-	list_append(node, expected_type)
-	set_add(list, node)
-
-	return!
-
 Void function add_AL_links(model : Element, list : Element, element : Element, type: String, linkname : String, expected_type : String):
 	if (bool_not(dict_in(element, linkname))):
 		log("FINISH")