|
@@ -75,9 +75,6 @@ String function model_add_edge(model : Element, name : String, source : String,
|
|
|
|
|
|
Void function retype_model(model : Element, metamodel : Element):
|
|
|
// Remove the type mapping and add a new one for the specified metamodel
|
|
|
- if (dict_in(model, "type_mapping")):
|
|
|
- dict_delete(model, "type_mapping")
|
|
|
-
|
|
|
new_type_mapping(model)
|
|
|
dict_add_fast(model, "metamodel", metamodel)
|
|
|
return!
|
|
@@ -403,7 +400,6 @@ Element function read_attribute(model : Element, element : String, attribute : S
|
|
|
|
|
|
else:
|
|
|
log("Element does not exist: " + element)
|
|
|
- set_pop(set_create())
|
|
|
|
|
|
// Not found: either element doesn't exist, or we couldn't find it
|
|
|
return read_root()!
|