X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a18fb7c6c81b1f58a9f8111fcf0ade106c4746b..fa8e71be179a7a12e74bcc550fa6fe2c54b8446a:/src/surf/surfxml_parseplatf.c diff --git a/src/surf/surfxml_parseplatf.c b/src/surf/surfxml_parseplatf.c index 57a766a4c2..4e5a4a770c 100644 --- a/src/surf/surfxml_parseplatf.c +++ b/src/surf/surfxml_parseplatf.c @@ -138,6 +138,7 @@ void parse_platform_file(const char *file) /* Register classical callbacks */ surfxml_add_callback(STag_surfxml_prop_cb_list, &parse_properties); + storage_register_callbacks(); routing_register_callbacks(); /* init the flex parser */ @@ -162,11 +163,6 @@ void parse_platform_file(const char *file) surfxml_add_callback(STag_surfxml_trace_connect_cb_list, &parse_Stag_trace_connect); - /* we care about the ASes while parsing the platf. Incredible, isnt it? */ - sg_platf_AS_end_add_cb(routing_AS_end); - sg_platf_AS_begin_add_cb(routing_AS_begin); - - /* Do the actual parsing */ parse_status = surf_parse();