Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
banish some surf parsing files to a src/surf/xml jail
[simgrid.git] / src / bindings / lua / lua_platf.cpp
index 18ae0e2..0cf495a 100644 (file)
@@ -7,8 +7,7 @@
 /* SimGrid Lua bindings                                                     */
 
 #include "lua_private.h"
-#include "simgrid/platf_interface.h"
-#include "surf/surfxml_parse.h"
+#include "src/surf/xml/platf.hpp"
 #include "surf/surf_routing.h"
 #include <string.h>
 #include <ctype.h>
@@ -361,8 +360,6 @@ int console_add_router(lua_State* L) {
   return 0;
 }
 
-#include "surf/surfxml_parse.h" /* to override surf_parse and bypass the parser */
-
 int console_add_route(lua_State *L) {
   XBT_DEBUG("Adding route");
   s_sg_platf_route_cbarg_t route;