|
@@ -549,7 +549,7 @@ Element function construct_model_raw(metamodel : Element):
|
|
list_append(lst, input())
|
|
list_append(lst, input())
|
|
i = i + 1
|
|
i = i + 1
|
|
|
|
|
|
- return construct_model_list(metamodel, lst)!
|
|
|
|
|
|
+ return construct_model_list(instantiate_model(metamodel), lst)!
|
|
|
|
|
|
Element function get_func_AL_model(al_model : Element):
|
|
Element function get_func_AL_model(al_model : Element):
|
|
Element initial_function
|
|
Element initial_function
|
|
@@ -579,12 +579,10 @@ Element function trim_AL_constructors(list : Element):
|
|
|
|
|
|
return lst!
|
|
return lst!
|
|
|
|
|
|
-Element function construct_model_list(metamodel : Element, list : Element):
|
|
|
|
|
|
+Element function construct_model_list(model : Element, list : Element):
|
|
String command
|
|
String command
|
|
- Element model
|
|
|
|
|
|
|
|
list = list_reverse(list)
|
|
list = list_reverse(list)
|
|
- model = instantiate_model(metamodel)
|
|
|
|
|
|
|
|
while (list_len(list) > 0):
|
|
while (list_len(list) > 0):
|
|
command = list_pop_final(list)
|
|
command = list_pop_final(list)
|