Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Parse c++ files too.
[simgrid.git] / tools / doxygen / xbt_log_extract_hierarchy.pl
index 8544ab9..3a0a70e 100755 (executable)
@@ -86,7 +86,7 @@ sub parse_file {
 }
 # Retrieve all the file names, and add their content to $data
 my $data;
 }
 # Retrieve all the file names, and add their content to $data
 my $data;
-open FILES, "find ../src/ ../tools/ ../include/ -name '*.c'|" || die "Cannot search for the source file names: $!\n";
+open FILES, "find ../src/ ../tools/ ../include/ -name '*.c' -o -name '*.cpp' |" || die "Cannot search for the source file names: $!\n";
 while (my $file=<FILES>) {
     chomp $file;
     parse_file($file);         
 while (my $file=<FILES>) {
     chomp $file;
     parse_file($file);