From: Martin Quinson Date: Fri, 4 Nov 2011 20:43:18 +0000 (+0100) Subject: this function should definitely not be called from lua, but from within the parsing... X-Git-Tag: exp_20120216~484 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6dc62256f5ada58d6f50cfac38f10d97b2a03cc2?hp=70388188c97f56fbe2b645c9b00dcb05d0b86509;ds=sidebyside this function should definitely not be called from lua, but from within the parsing logic --- diff --git a/src/bindings/lua/simgrid_lua.c b/src/bindings/lua/simgrid_lua.c index 0859188d44..9d878d57f0 100644 --- a/src/bindings/lua/simgrid_lua.c +++ b/src/bindings/lua/simgrid_lua.c @@ -616,7 +616,6 @@ static int msg_register_platform(lua_State * L) /* Tell Simgrid we dont wanna use its parser */ surf_parse = console_parse_platform; surf_parse_reset_callbacks(); - surf_config_models_setup(); MSG_create_environment(NULL); return 0; } @@ -629,7 +628,6 @@ static int sd_register_platform(lua_State * L) { surf_parse = console_parse_platform_wsL07; surf_parse_reset_callbacks(); - surf_config_models_setup(); SD_create_environment(NULL); return 0; } @@ -642,7 +640,6 @@ static int gras_register_platform(lua_State * L) /* Tell Simgrid we dont wanna use surf parser */ surf_parse = console_parse_platform; surf_parse_reset_callbacks(); - surf_config_models_setup(); gras_create_environment(NULL); return 0; }