Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] more changes to adapt graph configuration to libconfig parsing rules
authorschnorr <Lucas.Schnorr@imag.fr>
Wed, 23 May 2012 21:59:35 +0000 (23:59 +0200)
committerschnorr <Lucas.Schnorr@imag.fr>
Wed, 23 May 2012 22:00:37 +0000 (00:00 +0200)
src/instr/instr_config.c

index 717cb5a..b948962 100644 (file)
@@ -487,14 +487,14 @@ void TRACE_generate_triva_cat_conf (void)
     //configuration for all nodes
     fprintf (file,
              "  host = {\n"
-             "    type = square;\n"
-             "    size = power;\n");
+             "    type = \"square\";\n"
+             "    size = \"power\";\n");
     output_categories ("p", TRACE_get_categories(), file);
     fprintf (file,
              "  };\n"
              "  link = {\n"
-             "    type = rhombus;\n"
-             "    size = bandwidth;\n");
+             "    type = \"rhombus\";\n"
+             "    size = \"bandwidth\";\n");
     output_categories ("b", TRACE_get_categories(), file);
     fprintf (file, "  };\n");
     //close