Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanup the way surf_parse_models_setup is called after the last <config> and before...
[simgrid.git] / src / surf / surfxml_parse.c
index 6337923..8889e75 100644 (file)
@@ -475,6 +475,8 @@ void STag_surfxml_trace_connect(void){
        surfxml_call_cb_functions(STag_surfxml_trace_connect_cb_list);
 }
 void STag_surfxml_AS(void){
+  surf_parse_models_setup(); /* ensure that the models are created after the last <config> tag. See comment in simgrid.dtd */
+
        surfxml_call_cb_functions(STag_surfxml_AS_cb_list);
 }
 void STag_surfxml_ASroute(void){