Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use doxygen's section instead of my poor approximation; link to the list of all exist...
[simgrid.git] / src / surf / surf_parse.c
index 2261a1c..2668ed4 100644 (file)
@@ -159,6 +159,7 @@ void  surf_parse_open(const char *file) {
   xbt_assert1((surf_file_to_parse), "Unable to open \"%s\"\n",file);
   surf_input_buffer = surf_parse__create_buffer( surf_file_to_parse, 10);
   surf_parse__switch_to_buffer(surf_input_buffer);
+  surf_parse_lineno = 1;
 }
 
 void  surf_parse_close(void) {