xbt_assert(simix_global,
"SIMIX_global_init has to be called before SIMIX_launch_application.");
- // Reset callbacks
surf_parse_reset_callbacks();
surfxml_add_callback(STag_surfxml_process_cb_list, parse_process_init);
{
int parse_status;
-
surf_parse_reset_callbacks();
surf_parse_add_callback_config();
parse_status = surf_parse();
free_data();
surf_parse_close();
- xbt_assert(!parse_status, "Parse error in %s", file);
+ if (parse_status)
+ xbt_die("Parse error in %s", file);
surf_config_models_create_elms();
}